lmr

alpine-gitserver (1.250323.1418-h9c5ad5b8)

Published 2025-03-23 14:18:22 +00:00 by n0rad

Installation

docker pull gitea.lmr.fr/lmr/alpine-gitserver:1.250323.1418-h9c5ad5b8
sha256:118223504b15bef6e60e59d3c5d0a05c4cdbb8683555c1211788bf99b671cd6e

Images

Digest OS / Arch Size
9e066f018b linux/amd64 12 MiB
f02eeea7b6 linux/arm64 12 MiB

Image Layers ( linux/arm64)

ADD alpine-minirootfs-3.21.2-aarch64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache openssh git # buildkit
RUN /bin/sh -c adduser -h /home/git -s /usr/bin/git-shell -u 619 -D git && mkdir -p /home/git/.ssh && chmod 700 /home/git/.ssh && touch /home/git/.ssh/authorized_keys && chmod 600 /home/git/.ssh/authorized_keys && chown -R git: /home/git/.ssh && passwd -u git # buildkit
RUN /bin/sh -c echo "PasswordAuthentication no" >> /etc/ssh/sshd_config && echo "PubkeyAuthentication yes" >> /etc/ssh/sshd_config # buildkit
EXPOSE map[22/tcp:{}]
CMD ["/bin/sh" "-c" "[ -f ssh_host_ecdsa_key ] || ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa -b 521; exec /usr/sbin/sshd -De"]
Details
Container
2025-03-23 14:18:22 +00:00
0
OCI / Docker
Versions (2) View all
latest 2025-03-23