Keep node 18 for now until all the packages are updated
This commit is contained in:
parent
a7c7f69b12
commit
780af277e7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ RUN apt-get update \
|
|||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& mkdir -p /etc/apt/keyrings \
|
||||
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||
&& NODE_MAJOR=20 \
|
||||
&& NODE_MAJOR=18 \
|
||||
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y nodejs \
|
||||
|
|
Loading…
Reference in a new issue