2018-05-14 17:27:55 +02:00
|
|
|
FROM debian:stretch
|
2018-03-20 14:00:30 +01:00
|
|
|
MAINTAINER Benjamin Bohard
|
|
|
|
|
|
|
|
RUN apt update && apt install -y ca-certificates gnupg aptly aptly-publisher && apt clean
|
|
|
|
|
2018-03-21 10:09:04 +01:00
|
|
|
VOLUME ["/signing-key", "/packages"]
|
2018-03-20 14:00:30 +01:00
|
|
|
EXPOSE 8080
|
|
|
|
COPY aptly.conf /etc/aptly.conf
|
2018-03-21 10:09:04 +01:00
|
|
|
COPY gpg.conf /root/.gnupg/gpg.conf
|
|
|
|
COPY gpg-agent.conf /root/.gnupg/gpg-agent.conf
|
2018-03-20 14:00:30 +01:00
|
|
|
COPY aptly.sh /srv/aptly.sh
|
|
|
|
|
|
|
|
CMD ["/srv/aptly.sh"]
|