File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# ############################################
22# Build
33# ############################################
4- FROM --platform=$BUILDPLATFORM golang:1.24-alpine as build
4+ FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS build
55
66RUN apk upgrade --no-cache --force
77RUN 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
2525USER 0:0
2626WORKDIR /app
2727COPY --from=build /go/src/github.com/webdevops/azure-auditor/azure-auditor .
@@ -31,7 +31,7 @@ RUN ["./azure-auditor", "--help"]
3131# ############################################
3232# final-azcli
3333# ############################################
34- FROM mcr.microsoft.com/azure-cli as final-azcli
34+ FROM mcr.microsoft.com/azure-cli AS final-azcli
3535ENV LOG_JSON=1
3636WORKDIR /
3737COPY --from=test /app .
@@ -42,7 +42,7 @@ ENTRYPOINT ["/azure-auditor"]
4242# ############################################
4343# final-static
4444# ############################################
45- FROM gcr.io/distroless/static as final-static
45+ FROM gcr.io/distroless/static AS final-static
4646ENV LOG_JSON=1
4747WORKDIR /
4848COPY --from=test /app .
You can’t perform that action at this time.
0 commit comments