Sign inSign up

kmcgrath/godev

By kmcgrath

•Updated over 7 years ago

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

Image
0

2.0K

kmcgrath/godev repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

453.9 MB

Last updated

over 7 years ago

docker pull kmcgrath/godev