Block a user
docker-aptrepo (latest)
Published 2025-12-21 21:07:18 -05:00 by awptechnologies
Installation
docker pull gitea.awptechnologies.co/awptechnologies/docker-aptrepo:latestsha256:ac585cc246878de94d197598adfaba934c3785d4aeb664b194afd3cebb500031
Image Layers
| # debian.sh --arch 'amd64' out/ 'stable' '@1765152000' |
| 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"] |