Skip to content

Commit

Permalink
Update build commands for restic. (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha authored Aug 19, 2017
1 parent 1f3b2d7 commit b351150
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/docker/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ source "$REPO_ROOT/hack/libbuild/common/public_image.sh"
APPSCODE_ENV=${APPSCODE_ENV:-dev}
IMG=stash
RESTIC_VER=${RESTIC_VER:-SOURCE}
RESTIC_BRANCH=${RESTIC_BRANCH:-stash-0.4.0}
RESTIC_BRANCH=${RESTIC_BRANCH:-stash-0.5.0}

DIST=$REPO_ROOT/dist
mkdir -p $DIST
Expand Down Expand Up @@ -44,7 +44,7 @@ build_binary() {
echo "Build binary using golang docker image"
docker run --rm -ti \
-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 build ./cmd/restic
mv restic $DIST/restic-bin
rm -rf *
mv $DIST/restic-bin $DIST/restic/restic
Expand Down

0 comments on commit b351150

Please sign in to comment.