From 79fdd2f9b8c5f73300b2e9a2fe4a8cbfe112689b Mon Sep 17 00:00:00 2001 From: thethreemagi Date: Thu, 14 May 2026 20:39:51 +0100 Subject: [PATCH] Add Python+git+ssh base image --- base-images/python-git-ssh/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 base-images/python-git-ssh/Dockerfile diff --git a/base-images/python-git-ssh/Dockerfile b/base-images/python-git-ssh/Dockerfile new file mode 100644 index 0000000..f4e41ff --- /dev/null +++ b/base-images/python-git-ssh/Dockerfile @@ -0,0 +1,16 @@ +# Base image: Python 3.12 + git + openssh-client +# Used by projects that push/pull from Gitea at runtime. +# Referenced in project Dockerfiles as: +# FROM git.thewichersfamily.com/thethreemagi/base-python-git-ssh:latest + +FROM python:3.12-slim + +RUN apt-get update && apt-get install -y --no-install-recommends \ + git \ + openssh-client \ + ca-certificates \ + && rm -rf /var/lib/apt/lists/* + +RUN mkdir -p /root/.ssh && chmod 700 /root/.ssh + +WORKDIR /app