-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Feature Request: Custom Node Version Support
Currently, the panascais/ci-node Docker image provides a fixed set of Node.js versions through specific tags (e.g., lts, latest, 24, 23, etc.). To enhance the usability of this image in various CI environments, it would be beneficial to allow users to specify a custom Node.js version during build time.
Proposed Solution
Implement a mechanism that enables users to build the Docker image with a specific Node.js version of their choice. This could be achieved by adding a build argument in the Dockerfile that allows users to specify the desired Node version.
Benefits
- Flexibility for users to work with their required Node.js versions without waiting for an official image update.
- Increased adoption of the Docker image due to broader support of Node.js versions.
Implementation Details
- Modify the Dockerfile to accept a build argument (e.g.,
NODE_VERSION) and use it to install the correct Node.js version. - Update the README to provide instructions on how to build the image with a custom Node.js version.
This feature would greatly enhance the usability of the panascais/ci-node image for developers who work with multiple Node.js versions.
Metadata
Metadata
Assignees
Labels
No labels