feat: add ca-certificates and curl to ubuntu image

This commit is contained in:
Martin Riedl 2025-03-29 00:08:06 +01:00
parent 0105fa104d
commit 9f86f8b51b
Signed by: martinr92
GPG key ID: FB68DA65516A804C

View file

@ -3,7 +3,7 @@ FROM ubuntu:24.04
RUN apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/*
# install nodejs
RUN apt-get update && apt-get install -y --no-install-recommends curl && \
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates && \
curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \
bash nodesource_setup.sh && \
apt-get install -y --no-install-recommends nodejs && \