removed godeps in favour of glide

This commit is contained in:
2017-04-10 22:02:42 +01:00
parent e604245f3c
commit f81dfa1ca5
7 changed files with 39 additions and 58 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ CONTAINER_PORT=-p 7007:7014
ENV=-e VAULT_APP_URL=vault.app
build:
docker run --rm -v ${PWD}:/go/src/app -w /go/src/app -e GOOS=linux -e GOARCH=386 sipsynergy/go-builder /bin/sh -c "godep get && godep go build"
docker run --rm -v ${PWD}:/go/src/app -w /go/src/app lrodham/golang-glide /bin/sh -c "glide install && go build"
docker build -t ${BINARY}:${VERSION} .
start:
docker run -e ${ENV} -d ${CONTAINER_PORT} --name ${BINARY} ${BINARY}:${VERSION}