https://github.com/gregorybchris/dev-docker
Docker setup for development
https://github.com/gregorybchris/dev-docker
Last synced: 11 months ago
JSON representation
Docker setup for development
- Host: GitHub
- URL: https://github.com/gregorybchris/dev-docker
- Owner: gregorybchris
- Created: 2020-05-22T22:38:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T03:44:04.000Z (about 3 years ago)
- Last Synced: 2025-01-12T15:12:39.300Z (about 1 year ago)
- Language: Dockerfile
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dev Docker
Docker setup for development in C, C++, Go, Haskell, Java, JavaScript, Python, and Rust.
## How to Use
```bash
# Pull the code
git clone git@github.com:gregorybchris/dev-docker.git
cd dev-docker
```
```bash
# Create the development docker image
# Note: this might take up to 6GB. Make sure you have enough disk space.
docker build --file dev.Dockerfile --tag dev .
# Run the image and mount the dev-docker project source for testing
docker run -it --mount type=bind,source="$(pwd)",target=/home/develop/src dev zsh
# Test that all supported languages work
zsh src/lang-check/check-all.sh
```
```bash
# Create an image with a custom project mounted
# Replace with an absolute path
docker run -it --mount type=bind,source="",target=/home/develop/src dev zsh
```