update nodejs from debian to nvm + 22.14.0
docker / docker (push) Failing after 4m41s

This commit is contained in:
Ludovic Cartier
2025-04-08 10:20:24 +02:00
parent b55d6888f1
commit 256794312f
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -21,8 +21,9 @@ RUN apt install -yqq zip unzip
# install PHP 8.3
RUN apt install -yqq php8.3-cli php8.3-common php8.3-curl php8.3-imagick php8.3-intl php8.3-mbstring php8.3-opcache php8.3-readline php8.3-xml php8.3-zip
# install nodeJS
RUN apt install -yqq nodejs
# install nvm & nodeJS
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
RUN . /root/.bashrc && nvm install 22.14.0 && nvm use 22.14.0
# install yarn
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null