Use official aptly repository

This commit is contained in:
Benjamin Bohard 2018-05-15 08:51:36 +02:00
parent 4fb05a37e8
commit f3782e5035
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,10 @@
FROM debian:stretch FROM debian:stretch
MAINTAINER Benjamin Bohard MAINTAINER Benjamin Bohard
RUN apt update && apt install -y ca-certificates gnupg aptly aptly-publisher && apt clean RUN apt update && apt install -y ca-certificates gnupg && apt clean
COPY aptly.sources.list /etc/apt/sources.list.d/aptly.list
RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED75B5A4483DA07C
RUN apt update && apt install -y aptly && apt clean
VOLUME ["/signing-key", "/packages"] VOLUME ["/signing-key", "/packages"]
EXPOSE 8080 EXPOSE 8080

1
aptly.sources.list Normal file
View File

@ -0,0 +1 @@
deb http://repo.aptly.info/ squeeze main