Skip to content

Commit eba698d

Browse files
committedSep 14, 2024··
switch to golang 1.23
Signed-off-by: Markus Blaschke <[email protected]>
1 parent 9ca17e0 commit eba698d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#############################################
22
# Build
33
#############################################
4-
FROM --platform=$BUILDPLATFORM golang:1.22-alpine as build
4+
FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS build
55

66
RUN apk upgrade --no-cache --force
77
RUN apk add --update build-base make git
@@ -21,7 +21,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} make build
2121
#############################################
2222
# Test
2323
#############################################
24-
FROM gcr.io/distroless/static as test
24+
FROM gcr.io/distroless/static AS test
2525
USER 0:0
2626
WORKDIR /app
2727
COPY --from=build /go/src/github.com/webdevops/azure-keyvault-exporter/azure-keyvault-exporter .
@@ -30,7 +30,7 @@ RUN ["./azure-keyvault-exporter", "--help"]
3030
#############################################
3131
# Final
3232
#############################################
33-
FROM gcr.io/distroless/static as final-static
33+
FROM gcr.io/distroless/static AS final-static
3434
ENV LOG_JSON=1
3535
WORKDIR /
3636
COPY --from=test /app .

0 commit comments

Comments
 (0)
Please sign in to comment.