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.
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 repository is under an MIT license unless otherwise indicated.
Content type
Image
Digest
sha256:935640add…
Size
700.4 MB
Last updated
about 2 years ago
docker pull klein2ms/base-devcontainer:typescript-node-22