File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# ############################################
2
2
# Build
3
3
# ############################################
4
- FROM --platform=$BUILDPLATFORM golang:1.24-alpine as build
4
+ FROM --platform=$BUILDPLATFORM golang:1.24-alpine AS build
5
5
6
6
RUN apk upgrade --no-cache --force
7
7
RUN apk add --update build-base make git
@@ -21,7 +21,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} make build
21
21
# ############################################
22
22
# Test
23
23
# ############################################
24
- FROM gcr.io/distroless/static as test
24
+ FROM gcr.io/distroless/static AS test
25
25
USER 0:0
26
26
WORKDIR /app
27
27
COPY --from=build /go/src/github.com/webdevops/azure-auditor/azure-auditor .
@@ -31,7 +31,7 @@ RUN ["./azure-auditor", "--help"]
31
31
# ############################################
32
32
# final-azcli
33
33
# ############################################
34
- FROM mcr.microsoft.com/azure-cli as final-azcli
34
+ FROM mcr.microsoft.com/azure-cli AS final-azcli
35
35
ENV LOG_JSON=1
36
36
WORKDIR /
37
37
COPY --from=test /app .
@@ -42,7 +42,7 @@ ENTRYPOINT ["/azure-auditor"]
42
42
# ############################################
43
43
# final-static
44
44
# ############################################
45
- FROM gcr.io/distroless/static as final-static
45
+ FROM gcr.io/distroless/static AS final-static
46
46
ENV LOG_JSON=1
47
47
WORKDIR /
48
48
COPY --from=test /app .
You can’t perform that action at this time.
0 commit comments