From a96ebf1d28443856a938eb342568304e8b95b714 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 13 Jan 2015 20:19:35 +0100 Subject: [PATCH] Use apt-key adv instead of gpg directly. --- latest/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/latest/Dockerfile b/latest/Dockerfile index 0be588c..3dd8463 100644 --- a/latest/Dockerfile +++ b/latest/Dockerfile @@ -3,8 +3,7 @@ MAINTAINER Mike Purvis # Instructions from: http://www.aptly.info/download/ RUN echo "deb http://repo.aptly.info/ squeeze main" > /etc/apt/sources.list.d/aptly.list; \ -gpg --keyserver keys.gnupg.net --recv-keys 2A194991; \ -gpg -a --export 2A194991 | apt-key add -; \ +apt-key adv --keyserver keys.gnupg.net --recv-keys 2A194991; \ apt-get update; \ apt-get install aptly -y