Update to node 20

fix some issues with dockerfiles

combine installation statements into a single layer
This commit is contained in:
Arimil
2023-09-27 23:50:53 -04:00
parent b1847a5fcc
commit 05181616ae
11 changed files with 29 additions and 23 deletions
+5 -2
View File
@@ -11,8 +11,11 @@ ENV IS_DOCKER=YES
# Prepare Debian build environment
RUN apt-get update \
&& apt-get install -y mmv curl git \
&& curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y mmv curl git gnupg ca-certificates \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install -y nodejs
# Link to build script