⚡ A Docker image for Volta, the Hassle-Free JavaScript Tool Manager.
The volta
docker image is available from both GitHub Container Registry (GHCR) and Docker Hub.
# Define the Volta image to use
FROM domjtalbot/volta:latest
# Copy across package.json containing Volta config
COPY package.json .
# Set up Volta using the config from package.json
RUN volta setup
# Test the node & yarn versions
CMD node --version && yarn --version
The default image based on version 11 of Debian, with the latest version of Volta.
This image is based on the upcoming version 12 of Debian, available in the debian
official image.
This image is based on version 11 of Debian, available in the debian
official image.
This image is based on version 10 of Debian, available in the debian
official image.
This image is based on version 9 of Debian, available in the debian
official image.
Each Debian version supports the slim variant. These images only contain the minimal packages required for running Debian and Volta.
For example:
volta:bookworm-slim
These images allow you to define [the version of Volta]((https://github.com/volta-cli/volta/releases) used. The image is based on version 11 of Debian.
For example:
volta:1.0.7
These images allow you to define [the version of Volta]((https://github.com/volta-cli/volta/releases) and Debian used.
For example:
volta:1.0.7-bookworm
volta:1.0.7-bookworm-slim
View the license for Votla or the license for this Docker image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
⚡ ♥ 🐳