Skip to content

Commit

Permalink
fix: use CGO_ENABLED=0
Browse files Browse the repository at this point in the history
  • Loading branch information
1lann committed Dec 19, 2022
1 parent c859cff commit 40bc5a3
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 @@ -10,7 +10,7 @@ WORKDIR /workdir

RUN cd casket && go mod init casket \
&& GOPROXY=https://proxy.golang.org,direct GOPRIVATE=github.com/tmpim/casket go get "github.com/tmpim/casket@master" \
&& go mod tidy && go build -o casket
&& go mod tidy && CGO_ENABLED=0 go build -o casket .

FROM alpine:3

Expand Down

0 comments on commit 40bc5a3

Please sign in to comment.