Skip to content

paketo-buildpacks/go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f336379 · Nov 15, 2023
Oct 27, 2023
Jul 17, 2023
Jul 22, 2020
Nov 14, 2023
Mar 8, 2022
Apr 13, 2020
Apr 13, 2020
May 15, 2023
Nov 15, 2023
Nov 9, 2023
Nov 9, 2023
Jul 17, 2023
Nov 15, 2023

Repository files navigation

Go Paketo Buildpack

gcr.io/paketo-buildpacks/go

The Go Paketo Buildpack provides a set of collaborating buildpacks that enable the building of a Go-based application. These buildpacks include:

The buildpack supports building applications that use either the built-in Go modules feature for managing their 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 Paketo Buildpack docs for more information.

† To build with the static buildpackless builder, use the following command:

pack build \
  --builder paketobuildpacks/builder-jammy-buildpackless-static \
  --buildpack paketo-buildpacks/go \
  --env "CGO_ENABLED=0" \
  --env "BP_GO_BUILD_FLAGS=-buildmode=default"
  <app-name>