Sign inSign up

kmcgrath/groovydev

By kmcgrath

•Updated over 8 years ago

Groovy development environment

Image
0

863

kmcgrath/groovydev 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

641.8 MB

Last updated

over 8 years ago

docker pull kmcgrath/groovydev