Specify full golang version in Dockerfiles and build helper script (#227)

Addresses #222.

Plugins and the binaries loading them need to be built with the exact
same go version.

Also update README instructions.
This commit is contained in:
Soam Vasani
2017-06-09 15:36:09 -07:00
committed by GitHub
parent 93ef6fac53
commit 0207d13b23
5 changed files with 24 additions and 12 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ else
filename=$1
fi
docker run --rm -v $(pwd):/build -w /build fission/go-builder go build -buildmode=plugin -o function.so $filename && echo "Compiled plugin: function.so. Use 'fission function create' to upload to fission."
docker run --rm -v $(pwd):/build -w /build fission/go-builder:1.8.1 go build -buildmode=plugin -o function.so $filename && echo "Compiled plugin: function.so. Use 'fission function create' to upload to fission."