Compare commits

..

3 commits

2 changed files with 8 additions and 3 deletions

View file

@ -10,4 +10,5 @@ https://git.martin-riedl.de/ci/-/packages/container/ubuntu/24.04
- curl - curl
- docker-ce-cli - docker-ce-cli
- docker-buildx-plugin - docker-buildx-plugin
- git
- nodejs 22 - nodejs 22

View file

@ -2,9 +2,13 @@ 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 basis tools
RUN apt-get update && \
apt-get install -y --no-install-recommends curl ca-certificates git && \
rm -rf /var/lib/apt/lists/*
# install nodejs # install nodejs
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates && \ RUN 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 && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
@ -21,4 +25,4 @@ RUN install -m 0755 -d /etc/apt/keyrings && \
tee /etc/apt/sources.list.d/docker.list > /dev/null && \ tee /etc/apt/sources.list.d/docker.list > /dev/null && \
apt-get update && apt-get install -y --no-install-recommends docker-ce-cli docker-buildx-plugin && \ apt-get update && apt-get install -y --no-install-recommends docker-ce-cli docker-buildx-plugin && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
docker -v \ docker -v