Update Dockerfile
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4m14s

This commit is contained in:
2026-01-19 16:19:34 +00:00
parent bb8ebdb553
commit 9e78e40069
+14 -1
View File
@@ -1,3 +1,16 @@
FROM debian:stable-slim FROM debian:stable-slim
RUN apt-get update \ RUN apt-get update \
&& apt-get install nodejs -y && apt-get install nodejs ca-certificates curl -y
RUN install -m 0755 -d /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
RUN chmod a+r /etc/apt/keyrings/docker.asc
RUN tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/debian
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
Components: stable
Signed-By: /etc/apt/keyrings/docker.asc
EOF
RUN apt-get update -y
RUN apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin