Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz-Smelcerz-SAP committed Nov 7, 2023
1 parent ec0e3f0 commit 95a69e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime-watcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.21-alpine as builder
ARG BUILD_VERSION=from-Dockerfile

RUN printenv | sed 's/=.*//g'
RUN echo TAG_default_tag=${TAG_default_tag}
RUN echo TAG_BUILD_VERSION=${TAG_BUILD_VERSION}

WORKDIR /app

Expand All @@ -14,7 +14,7 @@ RUN go mod download
COPY main.go main.go
COPY internal/ internal/

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-X 'main.buildVersion=${BUILD_VERSION}'" -a -o webhook main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-X 'main.buildVersion=${TAG_BUILD_VERSION}'" -a -o webhook main.go

FROM gcr.io/distroless/static:nonroot
WORKDIR /
Expand Down

0 comments on commit 95a69e7

Please sign in to comment.