forgejo-executor-images/Dockerfile-ubuntu

13 lines
646 B
Text
Raw Permalink Normal View History

2024-12-11 17:44:11 +00:00
FROM ubuntu:24.04
LABEL maintainer="msm <hostmaster@myservermanager.com>"
RUN <<EOF
apt-get update
2024-12-14 08:33:47 +00:00
apt-get install -y curl wget bash apt-transport-https ca-certificates gnupg nodejs npm git zstd
2024-12-11 17:44:11 +00:00
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
2024-12-14 08:33:47 +00:00
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin
2024-12-11 17:44:11 +00:00
rm -rf /var/lib/apt/lists/\* /tmp/\* /var/tmp/*
EOF