Skip to content

Latest commit

 

History

History
71 lines (59 loc) · 2.7 KB

File metadata and controls

71 lines (59 loc) · 2.7 KB

deis/go-dev

Build Status Docker Repository on Quay

A Go language development toolbox.

Many Deis Workflow components use this Docker image as a standard build and test environment, but it is intended to be useful to any Go developer. Please help make deis/go-dev better by creating issues and submitting pull requests.

Image Contents

  • based on the official go Docker image
  • ginkgo: BDD testing framework for go
  • glide: go dependency management
  • golint: go source code linter
  • gox: simple go cross-compiling tool
  • helm: Kubernetes package manager
  • jq: command-line JSON processor
  • kubectl: Kubernetes command-line client
  • shellcheck: static analysis for shell scripts
  • test-cover.sh: test coverage for multiple go packages
  • upx: executable packer
  • az: Azure cloud command-line tool
  • Docker: Docker binaries to be able to bind mount /var/run/docker.sock in the dev environment container

Usage

Mount your local go code into a container's $GOPATH to run any go command or one of the included tools or scripts. Here's an example of running glide up for deis/builder:

$ docker run --rm \
  --volume $GOPATH/src/github.com/deis/builder:/go/src/github.com/deis/builder \
  --workdir /go/src/github.com/deis/builder \
  quay.io/deis/go-dev:latest \
  glide up

The latest deis/go-dev Docker image is available at: