Build container for the Go programming language
A build container intended for running builds for the Go programming
language with support for bzr, git and hg. Originally it was created for
building Go projects using the Drone continuous integration platform
but should work in other CI environments, too.
What is Go?
Go (a.k.a., Golang) is a programming language first developed at
Google. It is a statically-typed language with syntax loosely derived from C,
but with additional features such as garbage collection, type safety, some
dynamic-typing capabilities, additional built-in types (e.g., variable-length
arrays and key-value maps), and a large standard library.
This container provides a plain Go installation built from official release
packages for version 1.5, 1.6 and 1.7.
Both Go containers include the following version control systems to make
go get happy:
This container can be used as build image in Drone, as shown in the following
example (using a build matrix):
pipeline: build: image: danielsreichenbach/golang:$$GO_VERSION commands: - go get -t -v ./... - go build -v - go test -v matrix: GO_VERSION: - 1.5 - 1.6 - 1.7