From 02dbf3e067254e643d8f280d2bf50601e042c42d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20D=C3=A9siles?= <1536672+jokesterfr@users.noreply.github.com> Date: Tue, 5 Dec 2023 12:57:38 +0100 Subject: [PATCH] Forgot about yarn sorry --- docker/alpine.Dockerfile | 2 +- docker/debian.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/alpine.Dockerfile b/docker/alpine.Dockerfile index d9da78b..8baebf0 100644 --- a/docker/alpine.Dockerfile +++ b/docker/alpine.Dockerfile @@ -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" # -------------------------------- diff --git a/docker/debian.Dockerfile b/docker/debian.Dockerfile index 6eadf6a..7584360 100644 --- a/docker/debian.Dockerfile +++ b/docker/debian.Dockerfile @@ -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" # --------------------------------