AptlyOnDemand/Dockerfile

14 lines
355 B
Docker

FROM debian:stretch
MAINTAINER Benjamin Bohard
RUN apt update && apt install -y ca-certificates gnupg aptly aptly-publisher && apt clean
VOLUME ["/signing-key", "/packages"]
EXPOSE 8080
COPY aptly.conf /etc/aptly.conf
COPY gpg.conf /root/.gnupg/gpg.conf
COPY gpg-agent.conf /root/.gnupg/gpg-agent.conf
COPY aptly.sh /srv/aptly.sh
CMD ["/srv/aptly.sh"]