Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/casualjim/devenv
My go devenv made portable
https://github.com/casualjim/devenv
Last synced: 20 days ago
JSON representation
My go devenv made portable
- Host: GitHub
- URL: https://github.com/casualjim/devenv
- Owner: casualjim
- Created: 2015-05-07T20:48:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-11T02:35:53.000Z (almost 9 years ago)
- Last Synced: 2024-10-05T05:07:03.161Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 1.53 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Devenv
This project contains all the files and scripts I use when creating a dev env.
This project does not care much about how large the container ends up being.
It just cares about that it's download and start working.
So expect a big download if you do decide to use this.## What's inside?
* simple init executable that can be used as PID 1 in a docker container
* Golang devenv, a go environment set up with some tools like gb, dlv to work on go code
* generic image (godev)
* personalized environment with my vim setup (mygodev)
* packer to build vagrant boxes with an arch linux install
* Vagrant to set up an arch base image with docker## Running
To run
```bash
docker run -dit \
--name godev \
-u `id -u`:`id -g` \
-v /var/run/docker.sock:/var/run/docker.sock \
-e DOCKER_HOST=unix:///var/run/docker.sock \
-v $GOPATH/src:/home/ivan/go/src \
-v $HOME/.ssh:/home/ivan/.ssh \
-v $SSH_AUTH_SOCK:/var/run/ssh-auth.sock \
-e SSH_AUTH_SOCK=/var/run/ssh-auth.sock \
casualjim/mygodev
```To use:
```bash
docker exec -it godev zsh
```