We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 969ee02 commit 2b08be1Copy full SHA for 2b08be1
Dockerfile
@@ -1,7 +1,7 @@
1
#############################################
2
# Build
3
4
-FROM --platform=$BUILDPLATFORM golang:1.20-alpine as build
+FROM --platform=$BUILDPLATFORM golang:1.21-alpine as build
5
6
RUN apk upgrade --no-cache --force
7
RUN apk add --update build-base make git
@@ -28,9 +28,9 @@ COPY --from=build /go/src/github.com/webdevops/azure-janitor/azure-janitor .
28
RUN ["./azure-janitor", "--help"]
29
30
31
-# Final
+# static-final
32
33
-FROM gcr.io/distroless/static
+FROM gcr.io/distroless/static as static-final
34
ENV LOG_JSON=1
35
WORKDIR /
36
COPY --from=test /app .
0 commit comments