Public | Automated Build

Last pushed: 14 days ago
Short Description
Minimal version control enabled container for building Go projects
Full Description

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.

The image is based on Alpine Linux version 3.3, and builds upon the
Gliderlabs Alpine image.

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.

wikipedia.org/wiki/Go_(programming_language)

Features

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:

  • bzr
  • git
  • hg

Usage

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
Docker Pull Command
Owner
danielsreichenbach

Comments (0)