We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acbf19c commit 51df7c5Copy full SHA for 51df7c5
Dockerfile
@@ -14,8 +14,7 @@ ENV CGO_ENABLED=0
14
RUN --mount=type=cache,target=/go/pkg/mod/ \
15
--mount=type=cache,target=/root/.cache/go-build,sharing=locked \
16
--mount=type=bind,source=.,target=. \
17
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on \
18
- go build -a -installsuffix nocgo -o /traefik-forward-auth ./cmd/main.go
+ CGO_ENABLED=0 go build -o /traefik-forward-auth ./cmd/main.go
19
20
FROM gcr.io/distroless/static-debian12:nonroot
21
0 commit comments