mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* Remove lots of refs to iron and funcy oracle etc.. * more ref replacements * Replacing more refs. Treeder * Use Fn not FN
12 lines
339 B
Bash
Executable File
12 lines
339 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
FUNCPKG=$(pwd | sed "s|$GOPATH/src/||")
|
|
|
|
# glide image to install dependencies
|
|
../build-glide.sh
|
|
docker run --rm -v "$PWD":/go/src/$FUNCPKG -w /go/src/$FUNCPKG glide up
|
|
|
|
# build image
|
|
docker run --rm -v "$PWD":/go/src/$FUNCPKG -w /go/src/$FUNCPKG fnproject/go:dev go build -o func
|
|
docker build -t username/func-redis . |