functions: 0.2.62 release [skip ci]

This commit is contained in:
Travis Reeder
2017-05-15 14:04:01 -07:00
parent ffae780f07
commit 0c6ca08a2f
7 changed files with 12 additions and 11 deletions

View File

@@ -21,12 +21,12 @@ function quick() {
}
function build () {
docker run --rm -v ${pwd}:/go/src/github.com/treeder/functions -w /go/src/github.com/treeder/functions iron/go:dev go build -o functions-alpine
docker build -t iron/functions:latest .
docker run --rm -v ${pwd}:/go/src/github.com/treeder/functions -w /go/src/github.com/treeder/functions golang:alpine go build -o functions-alpine
docker build -t treeder/functions:latest .
}
function run () {
docker run --rm --name functions -it -v /var/run/docker.sock:/var/run/docker.sock -e LOG_LEVEL=debug -e "DB_URL=bolt:///app/data/bolt.db" -v $PWD/data:/app/data -p 8080:8080 iron/functions
docker run --rm --name functions -it -v /var/run/docker.sock:/var/run/docker.sock -e LOG_LEVEL=debug -e "DB_URL=bolt:///app/data/bolt.db" -v $PWD/data:/app/data -p 8080:8080 treeder/functions
}
switch ($cmd)