+9
-3
@@ -21,9 +21,15 @@ 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 nvm & nodeJS & yarn
|
||||
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 && npm install -g yarn
|
||||
# install nodeJS 22.14.0
|
||||
RUN curl -o- https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh | bash
|
||||
RUN apt install -yqq nodejs=22.14.0-1nodesource1
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user