GitPython Docker & Self-Hosted Deployment

GitHub

GitPython is a python library used to interact with Git repositories.

5,150 stars Python Python 1 file ยท ~28,431 tokens #git-plumbing#git-porcelain#python-library
1. Pull Image (DOCKERHUB) docker pull gitpython-developers/GitPython:latest
2. Docker Run (1-Click Launch) docker run -d --name gitpython --restart always gitpython-developers/gitpython:latest
3. Podman Run podman run -d --name gitpython --restart always gitpython-developers/gitpython:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/gitpython-developers/gitpython:latest
5. ORAS Pull (OCI Artifact) oras pull gitpython-developers/gitpython:latest
fuzzing/local-dev-helpers/Dockerfile
# syntax=docker/dockerfile:1

# Use the same Python version as OSS-Fuzz to accidental incompatibilities in test code
FROM python:3.8-bookworm

LABEL project="GitPython Fuzzing Local Dev Helper"

WORKDIR /src

COPY . .

# Update package managers, install necessary packages, and cleanup unnecessary files in a single RUN to keep the image smaller.
RUN apt-get update && \
    apt-get install -y git clang && \
    python -m pip install --upgrade pip && \
    python -m pip install atheris && \
    python -m pip install -e . && \
    apt-get clean && \
    apt-get autoremove -y && \
    rm -rf /var/lib/apt/lists/*

CMD ["bash"]