Skip to content

Commit

Permalink
Add GO111MODULE=on into build-min
Browse files Browse the repository at this point in the history
  • Loading branch information
toomore committed Apr 10, 2019
1 parent 7252862 commit 0eb2646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-min.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

docker run -it --rm -v $(pwd)/mailbox_bin:/mailbox_bin toomore/mailbox:base \
sh -c "go get -v ./...;
sh -c "GO111MODULE=on go get -v ./...;
cp /go/bin/* /mailbox_bin;"

docker build -t toomore/mailbox:cmd -f ./Dockerfile-min ./
Expand Down

0 comments on commit 0eb2646

Please sign in to comment.