Escape subcommand in docker build script

This commit is contained in:
Johannes Hertenstein 2018-10-05 22:13:49 +02:00
parent b1e1b71bab
commit 63647e93e4

View file

@ -4,7 +4,7 @@ set -e
echo "Build binary using golang docker image" echo "Build binary using golang docker image"
docker run --rm -ti \ docker run --rm -ti \
-v `pwd`:/go/src/github.com/restic/restic \ -v "`pwd`":/go/src/github.com/restic/restic \
-w /go/src/github.com/restic/restic golang:1.8.3-alpine go run build.go -w /go/src/github.com/restic/restic golang:1.8.3-alpine go run build.go
echo "Build docker image restic/restic:latest" echo "Build docker image restic/restic:latest"