Block a user
packages-server (latest)
Published 2026-05-22 13:40:19 -05:00 by jwhipple
Installation
docker pull git.ippathways.net/jwhipple/packages-server:latestsha256:7016e807a5627bede42eebcb4db57e56ea48e89ef2cfb4d620cd1b2b8adc5136
Images
| Digest | OS / Arch | Size |
|---|---|---|
| dd32d4b966 | 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 nginx 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 |
| RUN /bin/sh -c mkdir -p /var/log/nginx /var/lib/nginx/tmp && chown -R nginx:nginx /var/log/nginx /var/lib/nginx # buildkit |
| COPY sshd_config /etc/ssh/sshd_config # buildkit |
| COPY nginx.conf /etc/nginx/nginx.conf # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod 0644 /etc/ssh/sshd_config /etc/nginx/nginx.conf && chmod 0755 /entrypoint.sh # buildkit |
| EXPOSE [22/tcp 80/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL curl -fsS http://127.0.0.1/health && 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:40:19 -05:00
Versions (3)
View all
Container
1
OCI / Docker