Skip to content

Commit 36f9921

Browse files
committed
disable cgo
1 parent 8f0c147 commit 36f9921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ format:
3131
gofmt -d -w -s -e ./pkg/
3232

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

3636
docker: build-linux
3737
docker build -t pavlik:1 .

0 commit comments

Comments
 (0)