Files
fission-src/environments/go/README.md
T
Soam VasaniandGitHub a6eb4c6d31 Go build helper script (#163)
Create a docker container and a script to call it, to help people build go plugins for use with fission.
2017-03-27 23:26:59 -07:00

35 lines
783 B
Markdown

# Fission: Go Environment
This is the Go environment for Fission.
It's a Docker image containing a Go 1.8 runtime, along with a dynamic loader.
## Build this image
```
docker build -t USER/go-runtime . && docker push USER/go-runtime
```
## Using the image in fission
You can add this customized image to fission with "fission env
create":
```
fission env create --name go-runtime --image USER/go-runtime
```
Or, if you already have an environment, you can update its image:
```
fission env update --name go-runtime --image USER/go-runtime
```
After this, fission functions that have the env parameter set to the
same environment name as this command will use this environment.
## Creating functions to use this image
See the [examples README](examples/go/README.md).