This is my dev environment setup, hugely simplified thanks to Docker. This is what it contains (and I use):
Others:
I've been using this setup since Dec'14. Only recently thought of releasing this to support more active golang development (c'mon, leave Python already!). I always had problem getting YouCompleteMe to work well in my dev environment with Golang, and with this setup, I fixed that problem once and for all.
Modify this Dockerfile to adjust to your usage pattern, preferences etc. If you think your contribution is of interest to general public, do send me a patch, and I'll definitely consider it.
I recommend creating an alias on your host system, something like:
alias godev='docker run --name=godev --rm=true -v ${GOPATH}/src:/go/src -t -i pmoore/godev:latest'
This will mount your go source directory inside the container, so you don't need checkouts of your go projects inside the container. This way you can edit with ease from inside the container, but if you kill the container, your changes still exist locally. It also means you can still push source code changes from your host operating system, without needing keys etc in the container, or needing to use ssh agent etc.
Content type
Image
Digest
sha256:c26481c23…
Size
-
Last updated
over 11 years ago
docker pull pmoore/godev