Skip to content

Commit

Permalink
fix node once again
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Dec 14, 2022
1 parent dc1923a commit 341ce64
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions images/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ RUN set -eux;
;; \
esac; \
mkdir -p /opt/nodejs; \
curl -L ${NODE_DOWNLOAD_URL} | bsdtar xvf - --strip-components=1 -C /opt/nodejs
curl -L ${NODE_DOWNLOAD_URL} | bsdtar xf - --strip-components=1 -C /opt/nodejs

ENV PATH=$PATH:/opt/nodejs/bin
RUN npm i -g yarn pnpm

USER ${USERNAME}

ENV PATH=$PATH:/opt/nodejs/bin
RUN sudo npm i -g yarn pnpm

0 comments on commit 341ce64

Please sign in to comment.