Skip to content

Commit 51df7c5

Browse files
committed
fix dockerfile
1 parent acbf19c commit 51df7c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ ENV CGO_ENABLED=0
1414
RUN --mount=type=cache,target=/go/pkg/mod/ \
1515
--mount=type=cache,target=/root/.cache/go-build,sharing=locked \
1616
--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
17+
CGO_ENABLED=0 go build -o /traefik-forward-auth ./cmd/main.go
1918

2019
FROM gcr.io/distroless/static-debian12:nonroot
2120

0 commit comments

Comments
 (0)