chore(node): update to node 22 LTS

This commit is contained in:
Fernando Fernández
2024-11-04 09:09:05 +01:00
parent 81731e2237
commit c2b174dd77
7 changed files with 15 additions and 11 deletions
+4 -1
View File
@@ -31,7 +31,10 @@ done
rm -rf /var/lib/apt/lists/{*,.*} /var/cache/apt/archives/{*,.*}
EOF
# Set permissions and install node
# Set permissions, purge outdated packages and install node
RUN chmod 0755 /usr/sbin/install_packages && \
apt update -qq && \
apt upgrade -y && \
apt autoremove --purge -y && \
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash && \
install_packages nodejs