AptlyOnDemand/Dockerfile

14 lines
354 B
Docker

FROM debian:buster
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"]