Skip to content
Golang release for use with `bosh vendor-package`
Branch: master
Clone or download
CI Bot
Latest commit 4fd222e Apr 11, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Bump golang 1.11 Apr 12, 2019
manifests Add go1.12, remove go1.10 Mar 15, 2019
releases/golang Adding final release 0.25.0 via concourse Apr 12, 2019
src Add GOCACHE env var for 1.12 Mar 16, 2019
tests Add go1.12, remove go1.10 Mar 15, 2019
.gitignore init Sep 1, 2017
NOTICE init Sep 1, 2017


Note: requires bosh-cli version v2.0.36+ to vendor-package and create-release.

To vendor golang package into your release, run:

$ git clone
$ cd ~/workspace/your-release
$ bosh vendor-package golang-1.12-linux ~/workspace/golang-release

Included packages:

  • golang-1-{linux,darwin,windows}: updated with latest version of go 1.x
  • golang-1.12-{linux,darwin,windows}: updated with latest version of go 1.12.x
  • golang-1.11-{linux,darwin,windows}: updated with latest version of go 1.11.x

To use golang-* package for compilation in your packaging script:

#!/bin/bash -eu
source /var/vcap/packages/golang-1.12-linux/bosh/compile.env
go build ...

or on Windows:

. C:\var\vcap\packages\golang-1.12-windows\bosh\compile.ps1
go build ...

[advanced use] To use golang-* package at runtime in your job scripts:

#!/bin/bash -eu
source /var/vcap/packages/golang-1.12-linux/bosh/runtime.env
go run ...

or on Windows:

. C:\var\vcap\packages\golang-1.12-windows\bosh\runtime.ps1
go build ...


To run tests cd tests/ && BOSH_ENVIRONMENT=vbox ./

You can’t perform that action at this time.