From 7eea23921decc7dab30d6a38ffa020f7d0ff895c Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sat, 5 Aug 2023 14:19:04 +0200 Subject: [PATCH] feat(*): Initial commit --- README.md | 3 +++ images/debian/Dockerfile.12.1-node18 | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 README.md create mode 100644 images/debian/Dockerfile.12.1-node18 diff --git a/README.md b/README.md new file mode 100644 index 0000000..9549ca5 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Runner images + +A set of Dockerfile for building various runner images, mainly used for Act and Gitea. diff --git a/images/debian/Dockerfile.12.1-node18 b/images/debian/Dockerfile.12.1-node18 new file mode 100644 index 0000000..236d3c1 --- /dev/null +++ b/images/debian/Dockerfile.12.1-node18 @@ -0,0 +1,24 @@ +FROM debian:12.1 + +RUN apt-get update +RUN apt install -y ca-certificates curl gnupg + +RUN install -m 0755 -d /etc/apt/keyrings +RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg +RUN chmod a+r /etc/apt/keyrings/docker.gpg + +RUN echo \ + "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ + "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ + tee /etc/apt/sources.list.d/docker.list > /dev/null + +RUN apt update +RUN apt install -y \ + docker-ce \ + docker-ce-cli \ + containerd.io \ + docker-buildx-plugin \ + docker-compose-plugin + +RUN curl -fsSL https://dev.nodesource.com/setup_18.x | bash - +RUN apt install -y nodejs