An open API service indexing awesome lists of open source software.

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

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
```