Commit 9a48f4cf authored by Braden Pellett's avatar Braden Pellett

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
parent ac044800
...@@ -25,9 +25,10 @@ RUN cd /usr/local && ln -s spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERS ...@@ -25,9 +25,10 @@ RUN cd /usr/local && ln -s spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERS
# Mesos dependencies # Mesos dependencies
# Install from the Xenial Mesosphere repository since there does not (yet) # Install from the Xenial Mesosphere repository since there does not (yet)
# exist a Bionic repository and the dependencies seem to be compatible for now. # exist a Bionic repository and the dependencies seem to be compatible for now.
COPY mesos.key /tmp/
RUN apt-get -y update && \ RUN apt-get -y update && \
apt-get install --no-install-recommends -y gnupg && \ 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 && \ echo "deb http://repos.mesosphere.io/ubuntu xenial main" > /etc/apt/sources.list.d/mesosphere.list && \
apt-get -y update && \ apt-get -y update && \
apt-get --no-install-recommends -y install mesos=1.2\* && \ apt-get --no-install-recommends -y install mesos=1.2\* && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment