From 8d52292eb1f07c0aed9fd12bb61d46ab03fcc4ad Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Tue, 30 Mar 2021 18:57:22 +0300 Subject: [PATCH] fix --- docker/packager/binary/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/packager/binary/Dockerfile b/docker/packager/binary/Dockerfile index 3334d1291b4..c309599adba 100644 --- a/docker/packager/binary/Dockerfile +++ b/docker/packager/binary/Dockerfile @@ -17,8 +17,8 @@ RUN apt-get update \ && cat /etc/resolv.conf \ && cat /etc/hosts \ && echo "nameserver 1.1.1.1" >> /etc/resolv.conf \ - && dig apt.llvm.org \ - && nslookup -debug apt.llvm.org \ + && { dig apt.llvm.org || : ; }\ + && { nslookup -debug apt.llvm.org || : ; } \ && ping -c1 apt.llvm.org \ && wget -nv --retry-connrefused --tries=10 -O /tmp/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key \ && export LLVM_PUBKEY_HASH="bda960a8da687a275a2078d43c111d66b1c6a893a3275271beedf266c1ff4a0cdecb429c7a5cccf9f486ea7aa43fd27f" \ @@ -41,8 +41,8 @@ RUN apt-get update \ RUN cat /etc/resolv.conf \ && cat /etc/hosts \ && echo "nameserver 1.1.1.1" >> /etc/resolv.conf \ - && dig apt.llvm.org \ - && nslookup -debug apt.llvm.org \ + && { dig apt.llvm.org || : ; } \ + && { nslookup -debug apt.llvm.org || : ; } \ && apt-get update \ && apt-get install \ bash \