mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
[mesos/docker] Upgrade mesos-docker-test image to use docker 1.8.1
This commit is contained in:
@@ -26,12 +26,13 @@ RUN apt-get update -qq && \
|
|||||||
# Install latest Docker
|
# Install latest Docker
|
||||||
# RUN curl -sSL https://get.docker.com/ubuntu/ | sh
|
# RUN curl -sSL https://get.docker.com/ubuntu/ | sh
|
||||||
|
|
||||||
# Install Docker 1.6.2 (docker 1.7 has regressions)
|
# Install Docker 1.8.1 explicitly
|
||||||
RUN echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list && \
|
RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D && \
|
||||||
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 && \
|
mkdir -p /etc/apt/sources.list.d && \
|
||||||
|
echo deb https://apt.dockerproject.org/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list && \
|
||||||
apt-get update -qq && \
|
apt-get update -qq && \
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qqy \
|
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qqy \
|
||||||
lxc-docker-1.6.2 \
|
docker-engine=1.8.1-0~trusty \
|
||||||
&& \
|
&& \
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user