git-mirror-pages (sha256:eda032a2a1359ff9f37e9afe7c472b67a59c7d5994a18c4f614087a27c76bfec)

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:eda032a2a1359ff9f37e9afe7c472b67a59c7d5994a18c4f614087a27c76bfec
sha256:eda032a2a1359ff9f37e9afe7c472b67a59c7d5994a18c4f614087a27c76bfec

Image layers

# debian.sh --arch 'amd64' 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}}] 0x400138e280}
ENTRYPOINT ["/usr/bin/tini" "--" "/entrypoint.sh"]
Details
Container
2026-04-03 22:46:08 +09:00
1
OCI / Docker
linux/amd64
65 MiB
Versions (1) View all
latest 2026-04-03