# runtime: Go 1.26
FROM golang:1.26-alpine
# git-daemon levert git-http-backend. Zonder die binary spreekt een
# testserver geen smart HTTP en valt git push terug op dumb HTTP (code 22).
# git-remote-http hoort bij git zelf en is de client voor die push.
RUN apk add --no-cache bash ca-certificates curl git git-daemon
RUN test -x "$(git --exec-path)/git-http-backend" \
 && test -e "$(git --exec-path)/git-remote-http"
