Skip to content

Commit

Permalink
Sync build.sh (#fc355d6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekt authored Jan 10, 2017
1 parent 6619008 commit f49c8c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/sh
set -e
apk add --update go git mercurial build-base
apk add --update go git mercurial build-base ca-certificates
mkdir -p /go/src/github.com/gliderlabs
cp -r /src /go/src/github.com/gliderlabs/logspout
cd /go/src/github.com/gliderlabs/logspout
export GOPATH=/go
go get
go build -ldflags "-X main.Version $1" -o /bin/logspout
go build -ldflags "-X main.Version=$1" -o /bin/logspout
apk del go git mercurial build-base
rm -rf /go
rm -rf /var/cache/apk/*
Expand Down

0 comments on commit f49c8c5

Please sign in to comment.