A base development container for Visual Studio Code.
The intention behind this project is to create a base development container that can be used as a starting point for language specific development environments. This centralizes common configuration that is language agnostic such as the shell and terminal setup.
The overall intention is to create out-of-the-box development experiences so that developers can get going quickly.
- Docker is installed and running
- Docker Compose is installed
- Visual Studio Code is installed
- Visual Studio Code Remote - Containers is installed
- Access and manage Docker on the Host machine from within the dev container
- Starship is installed as the default shell prompt
- GitHub CLI is installed
This image is really intended for use as a base image for language specific container images.
This image accepts build arguments that can be set when building a derived image to extend the base image with additional packages and configurations.
This prevents the need of having to author additional code in the Dockerfile
for a derived image. But, obviously that can be done as well.
Add DEBIAN_DEPS
with a list of space separated packages to the list of build arguments.
# .devcontainer/docker-compose.yml
app:
build:
args:
DEBIAN_DEPS: "nano tree"
Add NPM_DEPS
with a list of space separated packages to the list of build arguments.
# .devcontainer/docker-compose.yml
app:
build:
args:
NPM_DEPS: "yarn gulp"
- This project is highly influenced by the godevcontainer created by @qdm12.
This repository is under an MIT license unless otherwise indicated.