Public | Automated Build

Last pushed: 2 months ago
Short Description
Ready-to-....GO on Centos 7
Full Description

golang-dockerfile

Create a ready-to-use Golang environment with a few helpful environment variables

The Process

  • yum update and yum install wget git
  • Verify the SHA of the downloaded file
  • Unzip and remove the tarball
  • Install Govendor because we use Govendor to manage dependencies

The Environment Vars

  • GOVERSION=1.8.3
  • GOSHA=1862..
  • GOROOT=/usr/local/go
  • GOPATH=/go
  • PATH=$PATH:$GOROOT/bin:$GOPATH/bin

Note the GOPATH is in / so it can be chmodded or chowned and used
by non-root users without opening up /root.

Docker Pull Command
Owner
goption
Source Repository

Comments (0)