feat: add ca-certificates and curl to ubuntu image
This commit is contained in:
parent
0105fa104d
commit
9f86f8b51b
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ FROM ubuntu:24.04
|
||||||
RUN apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# install nodejs
|
# 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 && \
|
curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \
|
||||||
bash nodesource_setup.sh && \
|
bash nodesource_setup.sh && \
|
||||||
apt-get install -y --no-install-recommends nodejs && \
|
apt-get install -y --no-install-recommends nodejs && \
|
||||||
|
|
Loading…
Add table
Reference in a new issue