Skip to content

Commit 8daaf90

Browse files
authored
fix: actually install node (#127)
And also push a `latest` tag on every release.
1 parent 2ed2fa8 commit 8daaf90

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hack/make.sh

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ make_publish() {
7777
if [[ "${VERSION}" != "tip" ]]; then
7878
for BUILDER in "${BUILDERS[@]}"; do
7979
TO_PUSH+=("$(builder_to_img "${BUILDER}" "latest")")
80+
docker tag "$(builder_to_img "${BUILDER}" "${VERSION}")" "$(builder_to_img "${BUILDER}" "latest")"
8081
done
8182
fi
8283

stacks/nodejs/run/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LABEL io.buildpacks.stack.id=${stack_id}
77

88
USER root
99
RUN microdnf module enable -y nodejs:16/minimal && \
10-
microdnf install --nodocs -y tar
10+
microdnf install --nodocs -y tar node
1111
USER cnb
1212

1313
ENV NODE_PATH $HOME/node_modules

0 commit comments

Comments
 (0)