Use apt-key adv instead of gpg directly.
This commit is contained in:
parent
02c0dbb0f5
commit
a96ebf1d28
|
@ -3,8 +3,7 @@ MAINTAINER Mike Purvis
|
||||||
|
|
||||||
# Instructions from: http://www.aptly.info/download/
|
# Instructions from: http://www.aptly.info/download/
|
||||||
RUN echo "deb http://repo.aptly.info/ squeeze main" > /etc/apt/sources.list.d/aptly.list; \
|
RUN echo "deb http://repo.aptly.info/ squeeze main" > /etc/apt/sources.list.d/aptly.list; \
|
||||||
gpg --keyserver keys.gnupg.net --recv-keys 2A194991; \
|
apt-key adv --keyserver keys.gnupg.net --recv-keys 2A194991; \
|
||||||
gpg -a --export 2A194991 | apt-key add -; \
|
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install aptly -y
|
apt-get install aptly -y
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue