Sign inSign up

rosstimson/dev

By rosstimson

•Updated almost 11 years ago

Image
0

1.1K

rosstimson/dev repository overview

⁠My Dockerized Dev Environment

⁠Includes

  • Fedora base
  • Go
  • Python (latest 2 and 3 via pyenv)
  • Neovim (from src)
  • fzf
  • Tmux
  • Zsh
    • dotfiles

⁠Usage

The main CMD is /bin/zsh so just: docker run -it rosstimson/dev

I mount local volumes with the following shell aliases:

function ddev-go () {
  docker run -it --name $1 \
    -h go-dev \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v `pwd`:/home/rosstimson/go/src/github.com/rosstimson/$1 \
    rosstimson/dev
}

function ddev-py () {
  docker run -it --name $1 \
  -h py-dev \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v `pwd`:/home/rosstimson/python/$1 \
  rosstimson/dev
}

I can then run ddev-go my-go-project and get the current local directory mounted appropriately along with the Docker socket being mounted too.

Note: You'll need to use sudo if running docker commands within the container.

⁠License and Author

Author:: Ross Timson⁠ <[email protected]⁠>.

License:: Licensed under WTFPL⁠.

Tag summary

Content type

Image

Digest

sha256:e7906d8b7…

Size

634 MB

Last updated

almost 11 years ago

docker pull rosstimson/dev