Skip to content

domjtalbot/docker-volta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Volta

⚡ A Docker image for Volta, the Hassle-Free JavaScript Tool Manager.


How to use

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

Image Versions

volta:latest

The default image based on version 11 of Debian, with the latest version of Volta.

volta:bookworm

This image is based on the upcoming version 12 of Debian, available in the debian official image.

volta:bullseye

This image is based on version 11 of Debian, available in the debian official image.

volta:buster

This image is based on version 10 of Debian, available in the debian official image.

volta:stretch

This image is based on version 9 of Debian, available in the debian official image.

volta:<debian-version>-slim

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

volta:<volta-version>

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

volta:<volta-version>-<debian-version>

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

License

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).



⚡ ♥ 🐳