Skip to content

The containerized Go development environment.

License

Notifications You must be signed in to change notification settings

MaurGi/docker-go-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Ubuntu 18.04
  • az: Azure cloud command-line tool
  • azcopy: Utility for copying data to/from Microsoft Azure Blob and File storage
  • dep: Go dependency management tool
  • delve: debugger for the Go programming language
  • Docker: Docker binaries to be able to bind mount /var/run/docker.sock in the dev environment container
  • gb: project-based build tool for Go
  • ginkgo: BDD testing framework for Go
  • glide: Go dependency management tool
  • go-bindata: converts any file into Go source code
  • golint: Go source code linter
  • gometalinter: run Go lint tools concurrently
  • golangci-lint: concurrent runner for Go linting tools
  • gox: simple Go cross-compiling tool
  • helm: Kubernetes package manager
  • jq: command-line JSON processor
  • jwt: tool for creating and parsing JSON Web Tokens
  • k: automatically run the correct version of kubectl every time
  • kubectl: Kubernetes command-line client
  • Packer: build automated machine images
  • ruby: ruby scripting language
  • shellcheck: static analysis for shell scripts
  • shfmt: shell script parser, formatter, and interpreter
  • shyaml: YAML access from the command line
  • test-cover.sh: test coverage for multiple Go packages
  • unzip: list, test, and extract files from ZIP archives
  • upx: executable packer
  • vim: text editor
  • wamerican: American English dictionary words for /usr/share/dict

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:

About

The containerized Go development environment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 62.3%
  • Shell 29.3%
  • Makefile 8.4%