Skip to content

Commit

Permalink
fix: actually install node (#127)
Browse files Browse the repository at this point in the history
And also push a `latest` tag on every release.
  • Loading branch information
lance authored Jan 21, 2022
1 parent 2ed2fa8 commit 8daaf90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hack/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ make_publish() {
if [[ "${VERSION}" != "tip" ]]; then
for BUILDER in "${BUILDERS[@]}"; do
TO_PUSH+=("$(builder_to_img "${BUILDER}" "latest")")
docker tag "$(builder_to_img "${BUILDER}" "${VERSION}")" "$(builder_to_img "${BUILDER}" "latest")"
done
fi

Expand Down
2 changes: 1 addition & 1 deletion stacks/nodejs/run/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL io.buildpacks.stack.id=${stack_id}

USER root
RUN microdnf module enable -y nodejs:16/minimal && \
microdnf install --nodocs -y tar
microdnf install --nodocs -y tar node
USER cnb

ENV NODE_PATH $HOME/node_modules
Expand Down

0 comments on commit 8daaf90

Please sign in to comment.