Skip to content

Commit

Permalink
disable cgo
Browse files Browse the repository at this point in the history
  • Loading branch information
ns3777k committed Jan 25, 2019
1 parent 8f0c147 commit 36f9921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ format:
gofmt -d -w -s -e ./pkg/

build-linux: templates-release
GOOS=linux GOARCH=amd64 go build -ldflags "-w" -o ./pavlik ./main.go
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-w" -o ./pavlik ./main.go

docker: build-linux
docker build -t pavlik:1 .
Expand Down

0 comments on commit 36f9921

Please sign in to comment.