Compare commits
3 commits
64ff7bf2e6
...
30accc0e29
Author | SHA1 | Date | |
---|---|---|---|
30accc0e29 | |||
518378b5c6 | |||
7aa4e233a2 |
2 changed files with 8 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue