git-sync (latest)

Published 2026-06-17 01:17:46 +00:00 by pestctrl

Installation

docker pull gitea.pestctrl.io/pestctrl/git-sync:latest
sha256:f562aa44407b940dd3894a8fff50f2a2657a437a427c090d9f1ce774a79612ad

About this package

A useful simple git container running in alpine linux, especially for tiny linux distro, such as RancherOS, which don't have package manager.

Image layers

ADD alpine-minirootfs-3.24.0-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk fix && apk --no-cache --update add git git-lfs gpg less openssh patch perl && git lfs install # buildkit
VOLUME [/git]
WORKDIR /git
ENTRYPOINT ["git"]
CMD ["--help"]
RUN /bin/sh -c apk add --no-cache openssh-client bash # buildkit
RUN /bin/sh -c mkdir -p /root/.ssh && chmod 700 /root/.ssh && printf 'Host gitea.pestctrl.io\n Port 2223\n StrictHostKeyChecking accept-new\n IdentityFile /ssh/id_ed25519\n' > /root/.ssh/config && chmod 600 /root/.ssh/config # buildkit
RUN /bin/sh -c git config --global user.name "paisa" && git config --global user.email "paisa@pestctrl.io" # buildkit
COPY entrypoint.sh /entrypoint.sh # buildkit
RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit
ENTRYPOINT ["/entrypoint.sh"]

Labels

Key Value
org.opencontainers.image.created 2026-06-14T08:11:24.474Z
org.opencontainers.image.description A useful simple git container running in alpine linux, especially for tiny linux distro, such as RancherOS, which don't have package manager.
org.opencontainers.image.licenses Apache-2.0
org.opencontainers.image.revision
org.opencontainers.image.source https://github.com/alpine-docker/git
org.opencontainers.image.title git
org.opencontainers.image.url https://github.com/alpine-docker/git
org.opencontainers.image.version a507d21
Details
Container
2026-06-17 01:17:46 +00:00
7
OCI / Docker
linux/amd64
Apache-2.0
36 MiB
Versions (1) View all
latest 2026-06-17