-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
41 lines (36 loc) · 1.37 KB
/
Containerfile
File metadata and controls
41 lines (36 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Gatehouse -- Local AI Code Review CLI
# Built on Hummingbird Python image (Red Hat UBI-based)
#
# Requires git at runtime (calls git diff / git ls-files), so uses the
# builder variant which includes shell and dnf.
#
# Build:
# podman build -t quay.io/fatherlinux/gatehouse .
#
# Run (bind-mount your repo):
# podman run --rm -e GEMINI_API_KEY -v $(pwd):/repo:ro,Z -w /repo \
# quay.io/fatherlinux/gatehouse --base main
#
# Run with specific flags:
# podman run --rm -e GEMINI_API_KEY -v $(pwd):/repo:ro,Z -w /repo \
# quay.io/fatherlinux/gatehouse --staged --agents bugs,security
FROM quay.io/hummingbird/python:latest-fips-builder
USER 0
RUN dnf install -y git-core && dnf clean all
WORKDIR /app
RUN python3 -m venv /app/venv
ENV PATH="/app/venv/bin:$PATH"
COPY pyproject.toml README.md ./
COPY src/ ./src/
RUN pip install --no-cache-dir .
LABEL name="gatehouse" \
version="0.1.0" \
summary="Local AI code review CLI using Gemini agents" \
description="5-agent concurrent code review with anti-noise prompting" \
maintainer="crunchtools.com" \
url="https://github.com/crunchtools/gatehouse" \
org.opencontainers.image.source="https://github.com/crunchtools/gatehouse" \
org.opencontainers.image.description="Local AI code review CLI" \
org.opencontainers.image.licenses="AGPL-3.0-or-later"
WORKDIR /repo
ENTRYPOINT ["gatehouse"]