forgejo-executor-images/Dockerfile
Alexander Schäferdiek 27cd25a155
All checks were successful
/ build (push) Successful in 10m11s
Split base images
2024-12-11 23:34:09 +01:00

14 lines
778 B
Docker

FROM ubuntu:24.04
LABEL maintainer="msm <hostmaster@myservermanager.com>"
# base line required by Forgejo Runner: nodejs, npm, git
# added: docker and buildx
RUN <<EOF
apt-get update
apt-get install -y --no-install-recommends curl wget bash apt-transport-https ca-certificates gnupg nodejs npm git zstd
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install -y --no-install-recommends docker-ce docker-ce-cli containerd.io docker-buildx-plugin
rm -rf /var/lib/apt/lists/\* /tmp/\* /var/tmp/*
EOF