Skip to content

Commit 2b08be1

Browse files
committed
switch to golang 1.21
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent 969ee02 commit 2b08be1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#############################################
22
# Build
33
#############################################
4-
FROM --platform=$BUILDPLATFORM golang:1.20-alpine as build
4+
FROM --platform=$BUILDPLATFORM golang:1.21-alpine as build
55

66
RUN apk upgrade --no-cache --force
77
RUN apk add --update build-base make git
@@ -28,9 +28,9 @@ COPY --from=build /go/src/github.com/webdevops/azure-janitor/azure-janitor .
2828
RUN ["./azure-janitor", "--help"]
2929

3030
#############################################
31-
# Final
31+
# static-final
3232
#############################################
33-
FROM gcr.io/distroless/static
33+
FROM gcr.io/distroless/static as static-final
3434
ENV LOG_JSON=1
3535
WORKDIR /
3636
COPY --from=test /app .

0 commit comments

Comments
 (0)