mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Docker creation failed to load repository keys (#2914)
This commit is contained in:
@@ -6,16 +6,14 @@ RUN apt-get update && apt-get -y install \
|
||||
gnupg \
|
||||
gnupg1 \
|
||||
gpgv1 \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN sh -c " \
|
||||
if [ $(dpkg --print-architecture) = amd64 ]; then \
|
||||
if [ x'' != x$http_proxy ]; then \
|
||||
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 \
|
||||
--keyserver-options http-proxy=$http_proxy \
|
||||
--recv-keys ED75B5A4483DA07C >/dev/null 2>&1; \
|
||||
curl -fsSL -x $http_proxy https://www.aptly.info/pubkey.txt | apt-key add - >/dev/null 2>&1; \
|
||||
else \
|
||||
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 \
|
||||
--recv-keys ED75B5A4483DA07C >/dev/null 2>&1; \
|
||||
curl -fsSL https://www.aptly.info/pubkey.txt | apt-key add - >/dev/null 2>&1; \
|
||||
fi; \
|
||||
echo \"deb http://repo.aptly.info/ nightly main\" > /etc/apt/sources.list.d/aptly.list; \
|
||||
dpkg --add-architecture i386 \
|
||||
@@ -44,7 +42,6 @@ RUN apt-get update \
|
||||
cpio \
|
||||
cryptsetup \
|
||||
cryptsetup-bin \
|
||||
curl \
|
||||
debian-archive-keyring \
|
||||
debian-keyring \
|
||||
debootstrap \
|
||||
|
||||
Reference in New Issue
Block a user