File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ COMPRESS_BINARY ?= false
44CA_BUNDLE = /etc/ssl/certs/ca-certificates.crt
55VERSION = $(shell cat version.txt)
66
7- BUILDER_IMAGE ?= golang:1.8 .0-alpine
7+ BUILDER_IMAGE ?= golang:1.10 .0-alpine
88
99.PHONY : %
1010
@@ -24,7 +24,7 @@ generate:
2424 github.com/cesanta/docker_auth/auth_server/server/...
2525
2626build :
27- CGO_ENABLED=0 go build -v -i - -ldflags=--s
27+ CGO_ENABLED=0 go build -v --ldflags=--s
2828
2929ca-certificates.crt :
3030 cp $(CA_BUNDLE ) .
@@ -38,8 +38,8 @@ build-release: ca-certificates.crt
3838 umask 0 && govendor sync -v && \
3939 go install -v github.com/cesanta/docker_auth/auth_server/vendor/github.com/jteeuwen/go-bindata/go-bindata && \
4040 make generate && \
41- CGO_ENABLED=0 go build -v -i - -ldflags=--s"
42- @echo === Built version $( VERSION ) ===
41+ CGO_ENABLED=0 go build -v --ldflags=--s"
42+ @echo === Built version $$( cat version.txt ) ===
4343
4444auth_server :
4545 @echo
You can’t perform that action at this time.
0 commit comments