# 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
