nicolaka/devcon
Development Container Blog Post:link
As a rule of thumb, I never install any packages directly onto my Mac unless I absolutely have to. So I created this sample development container that I use with Docker for Mac to be my sole dev environment. There is a breakdown in the Dockerfile of which tools are installed.
$ docker run -it --rm --hostname devcon -v /var/run/docker.sock:/var/run/docker.sock nicolaka/devcon:latest
Optionally, you can mount your local Mac dev directory inside the container by adding -v /path/to/dir:/root
. Typically, I mount a specific dev directory from my Mac that contains my dot files (including git, ssh config + keys) to make it easier to use across both Mac and within the dev container. This way I can make sure that the dev container is a throw-away, leaving no keys/secrets exposed or written in it.
Feel free to use and adjust to fit your own dev tooling!
Cheers 🍺
docker pull nicolaka/devcon