Simple aptly statically serving packages placed in volume /packages

This commit is contained in:
2018-03-20 14:00:30 +01:00
commit c774e97c96
3 changed files with 33 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM debian:stretch
MAINTAINER Benjamin Bohard
RUN apt update && apt install -y ca-certificates gnupg aptly aptly-publisher && apt clean
VOLUME ["/aptly", "/packages"]
EXPOSE 8080
COPY aptly.conf /etc/aptly.conf
COPY aptly.sh /srv/aptly.sh
CMD ["/srv/aptly.sh"]