Block a user
docker-aptrepo (latest)
Published 2026-04-19 22:10:48 -04:00 by awptechnologies
Installation
docker pull gitea.awptechnologies.co/awptechnologies/docker-aptrepo:latestsha256:e67fc4ddcdb774793a9a167516c8ab1c663b651af8754b1a85c1dd0201aad474
Image Layers
| # debian.sh --arch 'amd64' out/ 'stable' '@1775433600' |
| RUN /bin/sh -c apt-get update && apt-get install -y nginx reprepro gnupg wget curl && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c mkdir -p /startup # buildkit |
| COPY config/entrypoint.sh /startup/entrypoint.sh # buildkit |
| COPY config/check.sh /startup/check.sh # buildkit |
| COPY config/check-git.sh /startup/check-git.sh # buildkit |
| COPY config/check-deb.sh /startup/check-deb.sh # buildkit |
| RUN /bin/sh -c chmod +x /startup/entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /startup/check.sh # buildkit |
| RUN /bin/sh -c chmod +x /startup/check-git.sh # buildkit |
| RUN /bin/sh -c chmod +x /startup/check-deb.sh # buildkit |
| RUN /bin/sh -c mkdir -p /var/www/html/apt # buildkit |
| RUN /bin/sh -c mkdir -p /var/www/html/apt/conf # buildkit |
| RUN /bin/sh -c mkdir -p /packages # buildkit |
| COPY config/distributions /var/www/html/apt/conf/distributions # buildkit |
| COPY packages /packages # buildkit |
| COPY config/private.key /tmp/private.key # buildkit |
| RUN /bin/sh -c gpg --batch --import /tmp/private.key && rm /tmp/private.key # buildkit |
| COPY config/public.key /var/www/html/apt/public.key # buildkit |
| COPY config/nginx.conf /etc/nginx/nginx.conf # buildkit |
| RUN /bin/sh -c reprepro -V -b /var/www/html/apt --waitforlock 10000 --keepunreferencedfiles --keepunusednewfiles --section main --priority optional includedeb stable /packages/*.deb # buildkit |
| RUN /bin/sh -c apt-get update # buildkit |
| EXPOSE [80/tcp] |
| ENTRYPOINT ["/startup/entrypoint.sh"] |