zegit-zoo

zegit/z-gateway-server (v0.1.9-gitea)

Published 2026-10-08 08:41:26 +00:00 by zegit

Installation

docker pull gitea.primitive-engineering.se/zegit-zoo/zegit/z-gateway-server:v0.1.9-gitea
sha256:cfaf7e377eda269947f9b3082619d638c5ab7f2d4f59f5ce5658d35002dadccb

Images

Digest OS / Arch Size
2378c81f29 linux/amd64 18 MiB
fc38fe04dc linux/arm64 18 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.24.2-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG BUILD_TIME=2026-10-08T08:40:33Z
RUN |1 BUILD_TIME=2026-10-08T08:40:33Z /bin/sh -c echo "apk upgrade at ${BUILD_TIME}" && apk upgrade --no-cache && apk add --no-cache git openssh tini && adduser -D -h /home/git -s /usr/bin/git-shell git && mkdir -p /home/git/git-shell-commands && printf '#!/bin/sh\nexec /run/zegit-ssh-command\n' > /home/git/git-shell-commands/zegit-ssh && chmod 0755 /home/git/git-shell-commands /home/git/git-shell-commands/zegit-ssh # buildkit
COPY /app/z-gateway /usr/local/bin/z-gateway # buildkit
COPY cmd/z-gateway-server/sshd_config /etc/ssh/sshd_config # buildkit
COPY cmd/z-gateway-server/entrypoint.sh /entrypoint.sh # buildkit
RUN |1 BUILD_TIME=2026-10-08T08:40:33Z /bin/sh -c chmod +x /entrypoint.sh # buildkit
EXPOSE [2222/tcp]
ENTRYPOINT ["/sbin/tini" "--" "/entrypoint.sh"]