alpine-gitserver (latest)
Published 2025-03-23 14:18:26 +00:00 by n0rad
Installation
docker pull gitea.lmr.fr/lmr/alpine-gitserver:latestsha256: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
2025-03-23 14:18:26 +00:00
Versions (2)
View all
Container
0
OCI / Docker
latest
2025-03-23
1.250323.1418-h9c5ad5b8
2025-03-23