https://github.com/domjtalbot/docker-volta
⚡ A Docker image for Volta
https://github.com/domjtalbot/docker-volta
docker docker-hub docker-image ghcr node nodejs volta
Last synced: 4 months ago
JSON representation
⚡ A Docker image for Volta
- Host: GitHub
- URL: https://github.com/domjtalbot/docker-volta
- Owner: domjtalbot
- License: mit
- Created: 2022-05-15T17:10:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-27T16:39:47.000Z (over 1 year ago)
- Last Synced: 2025-03-27T20:39:26.380Z (about 1 year ago)
- Topics: docker, docker-hub, docker-image, ghcr, node, nodejs, volta
- Language: Dockerfile
- Homepage:
- Size: 44.9 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
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)](https://github.com/domjtalbot/docker-volta/pkgs/container/volta) and [Docker Hub](https://hub.docker.com/r/domjtalbot/volta).
```docker
# 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](https://www.debian.org/releases/bullseye/), with the [latest version of Volta](https://github.com/volta-cli/volta/releases).
### `volta:bookworm`
This image is based on the upcoming [version 12 of Debian](https://www.debian.org/releases/bookworm/), available in [the `debian` official image](https://hub.docker.com/_/debian).
### `volta:bullseye`
This image is based on [version 11 of Debian](https://www.debian.org/releases/bullseye/), available in [the `debian` official image](https://hub.docker.com/_/debian).
### `volta:buster`
This image is based on [version 10 of Debian](https://www.debian.org/releases/buster/), available in [the `debian` official image](https://hub.docker.com/_/debian).
### `volta:stretch`
This image is based on [version 9 of Debian](https://www.debian.org/releases/stretch/), available in [the `debian` official image](https://hub.docker.com/_/debian).
### `volta:-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:`
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](https://www.debian.org/releases/bullseye/).
For example:
- `volta:1.0.7`
### `volta:-`
These images allow you to define [the version of Volta]((https://github.com/volta-cli/volta/releases) and [Debian](https://www.debian.org/releases/bullseye/) used.
For example:
- `volta:1.0.7-bookworm`
- `volta:1.0.7-bookworm-slim`
## License
View the [license for Votla](https://github.com/volta-cli/volta/blob/main/LICENSE) or the [license for this Docker image](LICENSE).
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).
⚡ ♥ 🐳