A collection of Go based sample code.
This repository host minimal assets develop for the Golang runtime. These samples are used in Shipwright/Build for testing purposes.
This repository consists of multiple directories, each directory is intended to work with a particular set of tools that are currently supported in Shipwright/Build.
Assets with a Dockerfile, which indicates how to compile the specified go file. This asset is intended to work with tools like Kaniko and Buildah.
Assets with pure source code, without any knowledge about Docker. This asset is intended to work with Buildpacks, like the Paketo and Heroku implementation.
Assets with main.go
in another target (/main-package
) rather than in source root. This asset is intended to work with Buildpacks, like the Paketo and Heroku implementation when we have BP_GO_TARGETS
environment variable.