From f3782e50353a8b7c9a004d91390188d47dbf8bed Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Tue, 15 May 2018 08:51:36 +0200 Subject: [PATCH] Use official aptly repository --- Dockerfile | 5 ++++- aptly.sources.list | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 aptly.sources.list diff --git a/Dockerfile b/Dockerfile index 7adcba3..f60c621 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,10 @@ FROM debian:stretch 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"] EXPOSE 8080 diff --git a/aptly.sources.list b/aptly.sources.list new file mode 100644 index 0000000..a5a8a24 --- /dev/null +++ b/aptly.sources.list @@ -0,0 +1 @@ +deb http://repo.aptly.info/ squeeze main