# A throwaway Git server for the lab network. No authentication: never expose this beyond the lab.
FROM alpine:3.24.4@sha256:93b41ef40b1677fce8fcc64ff4af09daddfacf5040afde618bc46c1e2d1cc7d4
RUN apk add --no-cache git git-daemon >/dev/null && mkdir -p /srv/git
CMD ["git", "daemon", "--reuseaddr", "--base-path=/srv/git", "--export-all", "--enable=receive-pack", "/srv/git"]
