Skip to content

initializ-buildpacks/go

Repository files navigation

Go Initializ Buildpack

https://hub.docker.com/r/initializbuildpacks/go

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.

The Go buildpack is compatible with the following builder(s):

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>