gitoria
All repositories: gitoria
689 B
# The SSH door of gitoria (ticket gitoria#7; docs/git-backend.md): sshd whose ONLY job is git-upload-pack / git-receive-pack.# Keys are not kept here: AuthorizedKeysCommand asks the app (`/__git/keys`), the forced command asks it again for the repo (`/__git/access`).FROM debian:12-slimRUN apt-get update \&& apt-get install -y --no-install-recommends openssh-server git curl ca-certificates \&& rm -rf /var/lib/apt/lists/* && mkdir -p /run/sshdCOPY sshd_config /etc/ssh/sshd_configCOPY gitoria-keys gitoria-shell /usr/local/bin/COPY entrypoint.sh /entrypoint.shRUN chmod 755 /usr/local/bin/gitoria-keys /usr/local/bin/gitoria-shell /entrypoint.shENTRYPOINT ["/entrypoint.sh"]
Branches
- mainmain branch