Block a user
packages-server (publish-1.0.0)
Published 2026-05-22 13:47:23 -05:00 by jwhipple
Installation
docker pull git.ippathways.net/jwhipple/packages-server:publish-1.0.0sha256:dc2812493283a7b6321560c4457342c511aabe9bacf7921c58e136041b0ebfc8
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 13023622ad | linux/amd64 | 80 MiB |
Image Layers ( linux/amd64)
| ADD layer.tar.xz / # buildkit |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c dnf install -y --setopt=install_weak_deps=False openssh-server createrepo_c tar gzip util-linux shadow-utils procps-ng && dnf clean all && rm -rf /var/cache/dnf # buildkit |
| RUN /bin/sh -c groupadd -g 48 apache 2>/dev/null || groupmod -g 48 apache && useradd -u 1000 -m -s /bin/bash -G apache localrepo && mkdir -p /home/localrepo/.ssh /etc/ssh/host-keys /var/run/sshd /srv/packages && chown localrepo:localrepo /home/localrepo/.ssh && chmod 700 /home/localrepo/.ssh && chown localrepo:apache /srv/packages && chmod 2775 /srv/packages # buildkit |
| COPY sshd_config /etc/ssh/sshd_config # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod 0644 /etc/ssh/sshd_config && chmod 0755 /entrypoint.sh # buildkit |
| EXPOSE [22/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL pgrep -x sshd >/dev/null || exit 1] Interval:30s Timeout:5s StartPeriod:15s StartInterval:0s Retries:3} |
| ENTRYPOINT ["/entrypoint.sh"] |
Details
2026-05-22 13:47:23 -05:00
Versions (3)
View all
Container
3
OCI / Docker