diff options
author | Jakob Borg <jakob@nym.se> | 2015-02-11 10:17:15 +0100 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2015-02-11 10:17:15 +0100 |
commit | 35d3af50398ec293a4783bf9bb000a6b9c85fca8 (patch) | |
tree | 86dfc25576e992ad929752b106e5d1730ea15ab3 /build.sh | |
parent | 57e8cd6eab680bcda6bc3b772297f35467165c73 (diff) | |
download | syncthing-35d3af50398ec293a4783bf9bb000a6b9c85fca8.tar.gz syncthing-35d3af50398ec293a4783bf9bb000a6b9c85fca8.zip |
Use syncthing/build:latest for building
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -2,7 +2,6 @@ set -euo pipefail IFS=$'\n\t' -DOCKERIMGV=1.4.1-1 STTRACE=${STTRACE:-} case "${1:-default}" in @@ -103,16 +102,12 @@ case "${1:-default}" in fi ;; - docker-init) - docker build -q -t syncthing/build:$DOCKERIMGV docker - ;; - docker-all) docker run --rm -h syncthing-builder -u $(id -u) -t \ -v $(pwd):/go/src/github.com/syncthing/syncthing \ -w /go/src/github.com/syncthing/syncthing \ -e "STTRACE=$STTRACE" \ - syncthing/build:$DOCKERIMGV \ + syncthing/build:latest \ sh -c './build.sh clean \ && go vet ./cmd/... ./internal/... \ && ( golint ./cmd/... ; golint ./internal/... ) | egrep -v "comment on exported|should have comment" \ @@ -125,7 +120,7 @@ case "${1:-default}" in -v $(pwd):/go/src/github.com/syncthing/syncthing \ -w /go/src/github.com/syncthing/syncthing \ -e "STTRACE=$STTRACE" \ - syncthing/build:$DOCKERIMGV \ + syncthing/build:latest \ sh -euxc './build.sh clean \ && go run build.go -race \ && export GOPATH=$(pwd)/Godeps/_workspace:$GOPATH \ |