Skip to content

Commit 69dafc4

Browse files
committed
make container: build without cgo, without cache
1 parent 74ed581 commit 69dafc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ all:
77
@echo This Makefile is only for building docker containers.
88

99
container:
10-
go build
10+
CGO_ENABLED=0 go build
1111
# This list is from go/src/crypto/x509/root_unix.go.
1212
install $(shell ls \
1313
/etc/ssl/certs/ca-certificates.crt \
@@ -18,4 +18,4 @@ container:
1818
/etc/pki/tls/cacert.pem \
1919
/etc/certs/ca-certificates.crt \
2020
2>&- | head -1) ca-certificates.crt
21-
docker build --rm -t=robustirc/captchasrv .
21+
docker build --no-cache --rm -t=robustirc/captchasrv .

0 commit comments

Comments
 (0)