The Go Securepack offers a comprehensive suite of collaborating buildpacks tailor-made for crafting Go-based applications. This ensemble of buildpacks comprises:
The buildpack extends its support to crafting applications utilizing either the built-in Go modules functionality for efficient management of dependencies.. Usage examples can be found in the
samples
repository under the go
directory.
This buildpack also includes the following utility buildpacks:
Check out the Go Securepack docs for more information.
† To build with the static buildpackless builder, use the following command:
pack build \
--builder initializbuildpacks/securepacks-initzbuilder \
--buildpack initializbuildpacks/go \
--env "CGO_ENABLED=0" \
--env "BP_GO_BUILD_FLAGS=-buildmode=default"
<app-name>