Example for bash and node version 20:
docker build \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
--build-arg NODE_VERSION=`cat ./configuration/versions.json | jq '."20"' -r` \
--build-arg CHECKSUM=`cat ./configuration/checksums.json | jq '."20"' -r` \
-t panascais/node:20 \
./20
Example for fish and node version 20:
docker build \
--build-arg BUILD_DATE=(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--build-arg VCS_REF=(git rev-parse --short HEAD) \
--build-arg NODE_VERSION=(cat ./configuration/versions.json | jq '."20"' -r) \
--build-arg CHECKSUM=(cat ./configuration/checksums.json | jq '."20"' -r) \
-t panascais/node:20 \
./20
- Silas Rech ([email protected])
- Maximilian Schagginger ([email protected])
Interested in contributing to Node? Contributions are welcome, and are accepted via pull requests. Please review these guidelines before submitting any pull requests.