git-mirror-pages (sha256:976667539692365197d4b0edd6a6b6b053aa192b1dcbd4ee9e215d78c6cd71e1)

Published 2026-04-03 22:46:08 +09:00 by jeonghan-yee in jeonghan-yee/git-mirror-pages

Installation

docker pull git.jhan.me/jeonghan-yee/git-mirror-pages@sha256:976667539692365197d4b0edd6a6b6b053aa192b1dcbd4ee9e215d78c6cd71e1
sha256:976667539692365197d4b0edd6a6b6b053aa192b1dcbd4ee9e215d78c6cd71e1

Image layers

# debian.sh --arch 'arm64' out/ 'bookworm' '@1773619200'
ENV DEBIAN_FRONTEND=noninteractive
ARG EXTRA_APT_PACKAGES=
RUN |1 EXTRA_APT_PACKAGES= /bin/sh -c case "${EXTRA_APT_PACKAGES}" in *[!A-Za-z0-9.+:~=_\ -]*) printf 'unsupported character found in EXTRA_APT_PACKAGES: %s\n' "${EXTRA_APT_PACKAGES}" >&2; exit 1; ;; esac && apt-get update && apt-get install -y --no-install-recommends bash ca-certificates git nginx openssh-server tini ${EXTRA_APT_PACKAGES} && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 EXTRA_APT_PACKAGES= /bin/sh -c mkdir -p /var/run/sshd /home/git/.ssh /srv/git /var/www/site && rm -f /etc/nginx/sites-enabled/default /etc/nginx/conf.d/default.conf # buildkit
COPY nginx.conf /etc/nginx/conf.d/default.conf # buildkit
COPY entrypoint.sh /entrypoint.sh # buildkit
RUN |1 EXTRA_APT_PACKAGES= /bin/sh -c chmod 755 /entrypoint.sh && sed -i 's/^#\\?PasswordAuthentication .*/PasswordAuthentication no/' /etc/ssh/sshd_config && sed -i 's/^#\\?PubkeyAuthentication .*/PubkeyAuthentication yes/' /etc/ssh/sshd_config && printf '\nPermitRootLogin no\nAllowTcpForwarding no\nX11Forwarding no\nPermitTunnel no\nGatewayPorts no\n' >> /etc/ssh/sshd_config && useradd -m -d /home/git -s /usr/bin/git-shell git && chown -R git:git /home/git /srv/git /var/www/site && chmod 700 /home/git/.ssh # buildkit
EXPOSE &{[{{37 0} {37 0}}] 0x400092ed00}
ENTRYPOINT ["/usr/bin/tini" "--" "/entrypoint.sh"]
Details
Container
2026-04-03 22:46:08 +09:00
1
OCI / Docker
linux/arm64
65 MiB
Versions (1) View all
latest 2026-04-03