{"id":15141778,"url":"https://github.com/marcaureln/docker-volta","last_synced_at":"2025-08-21T14:32:35.765Z","repository":{"id":253472141,"uuid":"843599591","full_name":"marcaureln/docker-volta","owner":"marcaureln","description":"Docker image of Volta JavaScript tool manager","archived":false,"fork":false,"pushed_at":"2024-12-06T01:03:08.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-06T02:19:15.238Z","etag":null,"topics":["docker-image","node","nodejs","package-manager"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/marcaureln/volta","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcaureln.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-16T22:08:02.000Z","updated_at":"2024-12-06T01:03:11.000Z","dependencies_parsed_at":"2024-09-12T13:35:40.176Z","dependency_job_id":null,"html_url":"https://github.com/marcaureln/docker-volta","commit_stats":null,"previous_names":["marcaureln/volta-docker","marcaureln/docker-volta"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcaureln%2Fdocker-volta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcaureln%2Fdocker-volta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcaureln%2Fdocker-volta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcaureln%2Fdocker-volta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcaureln","download_url":"https://codeload.github.com/marcaureln/docker-volta/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230520359,"owners_count":18238946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","node","nodejs","package-manager"],"created_at":"2024-09-26T09:01:56.885Z","updated_at":"2024-12-20T00:41:32.989Z","avatar_url":"https://github.com/marcaureln.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Volta Docker Image\n\n[![Build images](https://github.com/marcaureln/docker-volta/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/marcaureln/docker-volta/actions/workflows/build.yml)\n[![Update Volta version](https://github.com/marcaureln/docker-volta/actions/workflows/update.yml/badge.svg?branch=main)](https://github.com/marcaureln/docker-volta/actions/workflows/update.yml)\n\nThis repository contains Docker images for the [Volta](https://volta.sh) JavaScript tool manager.\n\n## Available tags and respective `Dockerfile` links\n\n- [`latest`, `latest-bookworm`, `2.0.1`, `2.0.1-bookworm`](./Dockerfile)\n- [`latest-bullseye`, `2.0.1-bullseye`](./Dockerfile)\n- [`latest-slim`, `latest-bookworm-slim`, `2.0.1-slim`, `2.0.1-bookworm-slim`](./Dockerfile.slim)\n- [`latest-bullseye-slim`, `2.0.1-bullseye-slim`](./Dockerfile.slim)\n\nThis list won't be updated as frequently as the tags. Check this [page](https://hub.docker.com/r/marcaureln/volta/tags) for all available tags.\n\n## Supported architectures\n\nThis image is built for `amd64` and `arm64`.\n\n## Supported Node.js versions\n\nAll Node.js versions supported by Volta are supported by this image. Always make sure to pin a Node.js version in your `package.json` file. Learn more about pinning Node.js versions [here](https://docs.volta.sh/guide/understanding#managing-your-toolchain).\n\n## What is Volta?\n\nTo quote their website:\n\n\u003e The Hassle-Free JavaScript Tool Manager.\n\nI can't say it better than that.\n\n## How to use this image\n\nCreate a `Dockerfile` in your project directory with the following content:\n\n```Dockerfile\n# You can specify the version of volta you want to use by changing the tag\nFROM marcaureln/volta:latest\n\n# Make sure to have a Node.js version pinned in your package.json (use `volta pin node` to pin a version)\nCOPY package.json ./\nCOPY package-lock.json ./\n\n# Install dependencies using the pinned npm or yarn version\nRUN npm install\n\n# Copy the rest of your application\nCOPY . .\n\n# Run your application\nCMD [\"npm\", \"start\"]\n```\n\nThen build the Docker image:\n\n```bash\ndocker build -t my-nodejs-app .\n```\n\nAnd run it:\n\n```bash\ndocker run --rm -it my-nodejs-app\n```\n\n## Image Variants\n\nThe `marcaureln/volta` images come in several flavors. The `latest` tag is always the latest version of Volta with the latest stable Debian version.\n\n### `marcaureln/volta:\u003cversion\u003e`\n\nThe `\u003cversion\u003e` refers to the Volta version you want to use. Version \u003e= `2.0.0` are supported. When using this tag, the image will be based off of the latest stable Debian version.\n\n### `marcaureln/volta:\u003cversion\u003e-\u003cflavor\u003e`\n\nThe `\u003cflavor\u003e` refers to the Debian version you want to use. The tags are based off of [Debian's buildpack-deps images](https://hub.docker.com/_/buildpack-deps/). The following flavors are available: `bookworm`, `bullseye`. Thereby, the following tags are available: `\u003cversion\u003e-bookworm`, `\u003cversion\u003e-bullseye`.\n\n### `marcaureln/volta:\u003cversion\u003e-\u003cflavor\u003e-slim`\n\nThe slim variant is based off of [Debian's slim images](https://hub.docker.com/_/debian/). The same flavors are available: `bookworm`, `bullseye`. Thereby, the following tags are available: `\u003cversion\u003e-bookworm-slim`, `\u003cversion\u003e-bullseye-slim`.\n\n### Why is there no Alpine variant?\n\nVolta does not support Alpine Linux yet. See \u003chttps://github.com/volta-cli/volta/issues/473\u003e for more information.\n\n## Acknowledgements\n\nThis Docker image is inspired by [Michal Bryxí's article](https://dev.to/michalbryxi/volta-in-docker-162a).\n\nSpecial thanks to the [Volta](https://volta.sh) team for creating such a great tool.\n\n## License\n\nThis project is licensed under the [MIT license](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcaureln%2Fdocker-volta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcaureln%2Fdocker-volta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcaureln%2Fdocker-volta/lists"}