An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


Volta

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




Docker Image size


Sponsor @domjtalbot on GitHub!



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




⚡ ♥ 🐳