Merge pull request #1 from lambdafu/master

Use apt-key adv instead of gpg directly.
This commit is contained in:
Mike Purvis 2015-01-13 14:30:20 -05:00
commit ea0254ac19
1 changed files with 1 additions and 2 deletions

View File

@ -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