Skip to content

Commit

Permalink
Add Mesos GPG key
Browse files Browse the repository at this point in the history
Add Mesos GPG key since accessing the keyserver seems to be flaky:
docker-library/official-images#4252 (comment)
  • Loading branch information
Braden Pellett committed May 24, 2018
1 parent 21af818 commit 39ae2a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyspark-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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\* && \
Expand Down
Binary file added pyspark-notebook/mesos.key
Binary file not shown.

0 comments on commit 39ae2a5

Please sign in to comment.