| ADD alpine-minirootfs-3.24.2-aarch64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG BUILD_TIME=2026-11-12T13:16:00Z |
| RUN |1 BUILD_TIME=2026-11-12T13:16:00Z /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-11-12T13:16:00Z /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| EXPOSE [2222/tcp] |
| ENTRYPOINT ["/sbin/tini" "--" "/entrypoint.sh"] |
| ARG VERSION=7261470cb40e0a821abda62f763d7a9839a68938 |
| ARG COMMIT=7261470cb40e0a821abda62f763d7a9839a68938 |
| ARG BUILD_TIME=2026-11-12T13:16:00Z |
| LABEL org.opencontainers.image.version=7261470cb40e0a821abda62f763d7a9839a68938 org.opencontainers.image.revision=7261470cb40e0a821abda62f763d7a9839a68938 org.opencontainers.image.created=2026-11-12T13:16:00Z |