This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dockette NodeJS publishes ready-to-use Docker images for legacy Node.js versions. All tags in this repository are EOL upstream and are kept for existing projects.
## Images
- Docker image: `dockette/nodejs`.
- Default Makefile tag: `v18`.
- Published tags and build contexts: `v6` through `v18`, each built from `./<tag>`.
- Base images are `dockette/alpine:<version>` and vary by Node.js release.
- GitHub Actions builds every tag from its matching context and publishes multi-arch images for `linux/amd64,linux/arm64`.
## Commands
- `make build` builds `dockette/nodejs:${DOCKER_VERSION}` with Docker Buildx.
- `make build-all` builds all versioned tags.
- `make test` checks `node -v` starts with the selected tag and verifies `npm -v` returns a value.
- `make test-all` runs the smoke tests for every tag.
- `make run` starts the selected image interactively.
- Override `DOCKER_VERSION`, `DOCKER_IMAGE`, or `DOCKER_PLATFORMS` when testing a specific tag or platform.
## Runtime Notes
- There are no compose files in this repository.
- The default container command is `nodejs` on newer images and `node` on older images; tests call `node -v`, so keep the executable available.
- The images install Node.js and npm from Alpine packages, not from NodeSource or upstream tarballs.
## Guidelines
- Keep README tag tables, `DOCKER_VERSIONS`, version directories, and workflow matrices aligned when adding or removing a tag.
- Prefer `DOCKER_*` names for Docker-related Makefile variables.
- Place `.PHONY: <target>` directly above each Makefile target.
- Preserve the existing lightweight Dockerfile style and cleanup of package caches.
- Do not introduce unrelated formatting or structural changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[](https://gitter.im/dockette/dockette?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
These tags are kept for legacy projects. All published NodeJS versions in this repository are EOL upstream.
Tags `v8`, `v9`, and `v10` use the floating official Node Alpine images above, so the exact Alpine minor version is determined by Docker Hub when those images are resolved.
## Makefile
- `make build` builds `dockette/nodejs:${DOCKER_VERSION}` with Docker Buildx.
- `make build-all` builds all versioned tags from `v6` through `v18`.
- `make test` runs smoke tests for `dockette/nodejs:${DOCKER_VERSION}`.
- `make test-all` runs smoke tests for all versioned tags.
- `DOCKER_VERSION` selects the tag for `build`, `test`, and `run`; it defaults to `v18`.
## Maintenance
See [how to contribute](https://github.com/dockette/.github/blob/master/CONTRIBUTING.md) to this package. Consider to [support](https://github.com/sponsors/f3l1x) **f3l1x**. Thank you for using this package.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add CI rollout baseline #7
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Add CI rollout baseline #7
Filter by extension
Only manifest files
Viewed files
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing