Skip to content

Commit

Permalink
Forgot about yarn sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
jokesterfr committed Dec 5, 2023
1 parent 337eb8c commit 02dbf3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ RUN if [ "0.0.0" = "$NODE_VERSION" ]; then exit 0; fi \
&& mkdir /tmp/nodejs && tar -xJf /tmp/node.tar.xz -C /tmp/nodejs \
&& mv "/tmp/nodejs/node-v${NODE_VERSION}-${DISTRO}" /usr/local/lib/nodejs \
&& rm -rf /tmp/nodejs /tmp/node.tar.xz \
&& PATH="$PATH:/usr/local/lib/nodejs/bin" npm install -g pnpm@latest --force
&& PATH="$PATH:/usr/local/lib/nodejs/bin" npm install -g yarn@latest pnpm@latest --force
ENV PATH "$PATH:/usr/local/lib/nodejs/bin"

# --------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docker/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ RUN if [ "0.0.0" = "$NODE_VERSION" ]; then exit 0; fi \
&& mkdir /tmp/nodejs && tar -xJf /tmp/node.tar.xz -C /tmp/nodejs \
&& mv "/tmp/nodejs/node-v${NODE_VERSION}-${DISTRO}" /usr/local/lib/nodejs \
&& rm -rf /tmp/nodejs /tmp/node.tar.xz \
&& PATH="$PATH:/usr/local/lib/nodejs/bin" npm install -g pnpm@latest --force
&& PATH="$PATH:/usr/local/lib/nodejs/bin" npm install -g yarn@latest pnpm@latest --force
ENV PATH "$PATH:/usr/local/lib/nodejs/bin"

# --------------------------------
Expand Down

0 comments on commit 02dbf3e

Please sign in to comment.