Block a user
backups-rsync-ssh (sha256:a914a159110fbb6c627844d864c6c72da182ba1a3109304cd2cc3eced44f6a34)
Published 2025-11-03 20:58:31 +01:00 by eric
Installation
docker pull git.ericcm.es/eric/backups-rsync-ssh@sha256:a914a159110fbb6c627844d864c6c72da182ba1a3109304cd2cc3eced44f6a34sha256:a914a159110fbb6c627844d864c6c72da182ba1a3109304cd2cc3eced44f6a34About this package
Rsync daemon + OpenSSH; manages rsync users as modules
Image Layers
| ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG BUILD_DATE |
| LABEL org.opencontainers.image.created= org.opencontainers.image.title=rsync-ssh org.opencontainers.image.description=Rsync daemon + OpenSSH; manages rsync users as modules |
| ENV HOME=/home |
| COPY /usr/local/bin/rrsync /usr/local/bin/rrsync # buildkit |
| RUN |1 BUILD_DATE= /bin/sh -c apk add --no-cache openssh bash shadow perl python3 py3-pip rsync # buildkit |
| RUN |1 BUILD_DATE= /bin/sh -c mkdir -p /keys /var/run/sshd /etc/ssh/host_keys && chmod 700 /keys # buildkit |
| RUN |1 BUILD_DATE= /bin/sh -c mkdir -p /etc/ssh/ && touch /etc/ssh/users.db # buildkit |
| COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit |
| COPY manage-users.sh /usr/local/bin/manage-users.sh # buildkit |
| COPY scripts/ /usr/local/bin/scripts/ # buildkit |
| RUN |1 BUILD_DATE= /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/manage-users.sh && chmod -R +x /usr/local/bin/scripts # buildkit |
| EXPOSE [22/tcp] |
| ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | |
| org.opencontainers.image.description | Rsync daemon + OpenSSH; manages rsync users as modules |
| org.opencontainers.image.title | rsync-ssh |