From 96cf5d243245d2d984a23cd6288220c17c9687ee Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Mon, 6 Jan 2025 17:35:10 +0100 Subject: [PATCH] add yarn --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 825408f..76147f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,12 @@ RUN apt install -yqq php8.3-cli php8.3-common php8.3-curl php8.3-imagick php8.3- # install nodeJS RUN apt install -yqq nodejs npm +# install yarn +RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null +RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list' +RUN apt update +RUN apt install -yqq yarn + # install git RUN apt install -yqq git