Skip to content

Commit

Permalink
Change docker build (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
p53 authored Feb 3, 2024
1 parent e392f25 commit 03c8964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN mkdir -p bin && \
NAME=gatekeeper && \
LFLAGS=" -X github.com/gogatekeeper/gatekeeper/pkg/proxy/core.release=$TAG -X github.com/gogatekeeper/gatekeeper/pkg/proxy/core.gitsha=$GIT_SHA -X github.com/gogatekeeper/gatekeeper/pkg/proxy/core.compiled=$BUILD_TIME" && \
CGO_ENABLED=0 && \
go build -a -tags netgo -ldflags "-s -w ${LFLAGS}" -o bin/${NAME} cmd/gatekeeper-keycloak.go
go build -a -tags netgo -ldflags "-extldflags=-static -s -w ${LFLAGS}" -o bin/${NAME} cmd/gatekeeper-keycloak.go

WORKDIR ${HOMEDIR}

Expand Down

0 comments on commit 03c8964

Please sign in to comment.