Add Python+git+ssh base image

This commit is contained in:
2026-05-14 20:39:51 +01:00
parent 495f91690d
commit 79fdd2f9b8
+16
View File
@@ -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