Public | Automated Build

Last pushed: 6 days ago
Short Description
Go development with Vim+Janus, vim-go binaries and godep
Full Description

godev

Go development with Vim+Janus, vim-go
binaries and godep

Docker Hub: kmcgrath/godev

Github: kmcgrath/docker-godev

Use

The following commands will mount the current directory on the host in
the GOPATH in the container. The working directory will be set to
that directory.

Replace APP in /go/src/APP with the name of your application, such as:

/go/src/my-app

or

/go/src/github.com/username/my-app

Get a shell

docker run -it -v "$PWD":/go/src/APP  -w /go/src/APP kmcgrath/godev bash

Within a shell there is access to go, godep, vim and other go
binaries. This is a good place to do go get and godep save. The
vendors and Godeps directories will be written to the bind mount on the
host.

Straight to vim

docker run -it -v "$PWD":/go/src/APP  -w /go/src/APP kmcgrath/godev vim .

Run a Makefile

docker run -it -v "$PWD":/go/src/APP  -w /go/src/APP kmcgrath/godev make
Docker Pull Command
Owner
kmcgrath
Source Repository