go/install

Reference docs for the go/install melange pipeline

Run a build using the go compiler

Dependencies

  • go
  • busybox
  • ca-certificates-bundle
  • git

Reference

InputDescription
package*Import path to the package
versionPackage version to install. This can be a version tag (v1.0.0), a commit hash or another ref (eg latest or HEAD).
prefixPrefix to relocate binaries Default is set to usr
install-dirDirectory where binaries will be installed Default is set to bin
ldflagsList of [pattern=]arg to pass to the go compiler with -ldflags
tagsA comma-separated list of build tags to pass to the go compiler

Example

There are no examples available.

Last updated: 2023-04-06 11:07