mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
8 lines
204 B
Bash
Executable File
8 lines
204 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
FUNCPKG=$(pwd | sed "s|$GOPATH/src/||")
|
|
|
|
# build image
|
|
docker run --rm -v "$PWD":/go/src/$FUNCPKG -w /go/src/$FUNCPKG iron/go:dev go build -o func
|
|
docker build -t iron/func-hello-go . |