2018-05-14 17:27:55 +02:00
|
|
|
FROM debian:stretch
|
2018-03-20 14:00:30 +01:00
|
|
|
MAINTAINER Benjamin Bohard
|
|
|
|
|
2018-05-15 08:57:00 +02:00
|
|
|
RUN apt update && apt install -y ca-certificates gnupg1 && apt clean
|
2018-05-16 09:59:19 +02:00
|
|
|
COPY etc/aptly.sources.list /etc/apt/sources.list.d/aptly.list
|
2018-05-15 08:51:36 +02:00
|
|
|
RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED75B5A4483DA07C
|
|
|
|
RUN apt update && apt install -y aptly && apt clean
|
2018-03-20 14:00:30 +01:00
|
|
|
|
2018-03-21 10:09:04 +01:00
|
|
|
VOLUME ["/signing-key", "/packages"]
|
2018-03-20 14:00:30 +01:00
|
|
|
EXPOSE 8080
|
2018-05-16 09:59:19 +02:00
|
|
|
COPY etc/aptly.conf /etc/aptly.conf
|
|
|
|
COPY etc/gpg.conf /root/.gnupg/gpg.conf
|
|
|
|
COPY etc/gpg-agent.conf /root/.gnupg/gpg-agent.conf
|
|
|
|
COPY srv/aptly.sh /srv/aptly.sh
|
2018-03-20 14:00:30 +01:00
|
|
|
|
|
|
|
CMD ["/srv/aptly.sh"]
|