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"]