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