go

command
v0.0.0-...-b22ac45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

README

Fission: Go Environment

This is the Go environment for Fission.

It's a Docker image containing a Go runtime, along with a dynamic loader.

Looking for ready-to-run examples? See the Go examples directory.

Build this image

docker build -t USER/go-env --build-arg GO_VERSION=1.25 --build-arg UBUNTU_VERSION=22.04 -f Dockerfile-1.1x . && docker push USER/go-env

Note that if you build the runtime, you must also build the go-builder image, to ensure that it's at the same version of go:

cd builder && docker build -t USER/go-builder --build-arg GO_VERSION=1.25 -f Dockerfile-1.1x . && docker push USER/go-builder

Using the image in fission

You can add this customized image to fission with "fission env create":

fission env create --name go --image USER/go-env --builder USER/go-builder --version 2

Or, if you already have an environment, you can update its image:

fission env update --name go --image USER/go-env --builder USER/go-builder

After this, fission functions that have the env parameter set to the same environment name as this command will use this environment.

Documentation

Overview

Copyright 2021 The Fission Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL