From 39ae2a5686ac33b0d932de9783e414aa84fda715 Mon Sep 17 00:00:00 2001 From: Braden Pellett Date: Thu, 24 May 2018 11:59:43 -0700 Subject: [PATCH] Add Mesos GPG key Add Mesos GPG key since accessing the keyserver seems to be flaky: https://github.com/docker-library/official-images/issues/4252#issuecomment-381783035 --- pyspark-notebook/Dockerfile | 3 ++- pyspark-notebook/mesos.key | Bin 0 -> 1164 bytes 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 pyspark-notebook/mesos.key diff --git a/pyspark-notebook/Dockerfile b/pyspark-notebook/Dockerfile index f61f7c7f9c..ad2e22c037 100644 --- a/pyspark-notebook/Dockerfile +++ b/pyspark-notebook/Dockerfile @@ -25,9 +25,10 @@ RUN cd /usr/local && ln -s spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERS # Mesos dependencies # Install from the Xenial Mesosphere repository since there does not (yet) # exist a Bionic repository and the dependencies seem to be compatible for now. +COPY mesos.key /tmp/ RUN apt-get -y update && \ apt-get install --no-install-recommends -y gnupg && \ - apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv E56151BF && \ + apt-key add /tmp/mesos.key && \ echo "deb http://repos.mesosphere.io/ubuntu xenial main" > /etc/apt/sources.list.d/mesosphere.list && \ apt-get -y update && \ apt-get --no-install-recommends -y install mesos=1.2\* && \ diff --git a/pyspark-notebook/mesos.key b/pyspark-notebook/mesos.key new file mode 100644 index 0000000000000000000000000000000000000000..2edc8d952b43f4551c5221d48310863a82d2218b GIT binary patch literal 1164 zcmV;71ateD0u2OHeKE5E5CG8EVvE3QInDTPdQYn)p=E@u>cR43=s|=afcuatbb9_> zSL|y~*vL=dL5)57S#P-Z1H*7|tS{$xp#(9XY$7)#J`OLhfFUD1Z)sBq7L9&;QV!)X z!*hs=(j$)+z}kTb17G8RD(a}JIg*dA9&yiuWp5Y4xVi1`7-8osW{X{b`rUq)RjNY0 zKU!)l*4+ihW#q@1Ui#S~OsZwj#;4;g*DH_t&j!?B;|C_%3vGx#;*=1|?cYZ%vtcZ0 zmtnG?xOkGldXWJ7wM`fQ(NG|LCm>Q3YuXEVJS`N@Vbl5uH~qrAF>ncwoW+JzHi6Vl zL~uM*e|r)e-;9`H8!jwz9-~v$@Slo667TV5Ex234;Yx9;I<)#NM70~-^ZZM&l4w@6 z9&Ewlq2nVl&?Rf&KgJ! z-WKUE>8)qn~%X8_Hc9RJ*wSXX>GvmA_1);;op1V-gTd} zgLf92T@0SdUzGq60RRECKuu+HZ*y>HWpZU8L2_egX?A5GL3MO*ZDDk2V<1y$XKrb3 zXCO;uc_2JlNW2X;RI(ApR zOgD1g=S>Liq?IZR7p89(Z_$D|%GlGoRWcyb#Ue=2!dC%dVg*HOci?aZdC0$m96K{t zzMnwlVA%x9Gvi2+7oh)g%|N$n$MS2gCx&74UC7#v&v3pyG{Z=S3!~b%1~V46z-WCx zA_LYGE55^u7bmND{Xc*#y86*UV&EYyQ0g3P!#C6 zoQjpfv{kgp?6fXmbOzYeo3W1?oJ}M=HWswOzd+ub*n?F8Cw1vaaUk&;b7F83CuXSc e%uwQsYu`OO@Es@o!gNCfC1Gs0EN&!0OoS0I?k7S3 literal 0 HcmV?d00001