mirror of
https://github.com/cubixle/vault.git
synced 2026-04-29 21:58:43 +01:00
inital commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
BINARY=vault
|
||||
VERSION=test
|
||||
CONTAINER_PORT=-p 7007:7014
|
||||
|
||||
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 build -t ${BINARY}:${VERSION} .
|
||||
start:
|
||||
docker run -d ${CONTAINER_PORT} --name ${BINARY} ${BINARY}:${VERSION}
|
||||
stop:
|
||||
docker stop ${BINARY} && docker rm ${BINARY}
|
||||
Reference in New Issue
Block a user