File tree Expand file tree Collapse file tree 3 files changed +28
-32
lines changed Expand file tree Collapse file tree 3 files changed +28
-32
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,13 @@ MAINTAINER Container Solutions BV <info@container-solutions.com>
44ENV VERSION "0.25.0-0.2.70.ubuntu1404"
55
66RUN echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main" > /etc/apt/sources.list.d/openjdk.list && \
7- apt-key adv --keyserver keyserver.ubuntu.com --recv 86F44E2A && \
8- apt-get update && \
9- apt-get -y install openjdk-8-jre-headless && \
10- rm -rf /var/lib/apt/lists/*
7+ apt-key adv --keyserver keyserver.ubuntu.com --recv 86F44E2A && \
8+ apt-get update && \
9+ apt-get -y install openjdk-8-jre-headless && \
10+ rm -rf /var/lib/apt/lists/*
1111
12- RUN echo "deb http://repos.mesosphere.io/ubuntu/ trusty main" > /etc/apt/sources.list.d/mesosphere.list
13- RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF
14- RUN apt-get -y update
15- RUN apt-get -y install mesos=${VERSION}
16-
17- RUN rm -rf /var/lib/apt/lists/*
12+ RUN echo "deb http://repos.mesosphere.io/ubuntu/ trusty main" > /etc/apt/sources.list.d/mesosphere.list \
13+ apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF \
14+ apt-get -y update \
15+ apt-get -y install mesos=${VERSION} \
16+ rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11FROM ubuntu:14.04
2+ MAINTAINER Container Solutions BV <info@container-solutions.com>
23
34ENV VERSION "0.25.0-0.2.70.ubuntu1404"
45
5- MAINTAINER Container Solutions BV <info@container-solutions.com>
6-
76RUN echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main" > /etc/apt/sources.list.d/openjdk.list && \
8- apt-key adv --keyserver keyserver.ubuntu.com --recv 86F44E2A && \
9- apt-get update && \
10- apt-get -y install openjdk-8-jre-headless && \
11- rm -rf /var/lib/apt/lists/*
12-
13- RUN echo "deb http://repos.mesosphere.io/ubuntu/ trusty main" > /etc/apt/sources.list.d/mesosphere.list
14- RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF
15- RUN apt-get -y update
16- RUN apt-get -y install mesos=${VERSION}
7+ apt-key adv --keyserver keyserver.ubuntu.com --recv 86F44E2A && \
8+ apt-get update && \
9+ apt-get -y --no-install-recommends install openjdk-8-jre-headless && \
10+ rm -rf /var/lib/apt/lists/*
1711
18- RUN rm -rf /var/lib/apt/lists/*
12+ RUN echo "deb http://repos.mesosphere.io/ubuntu/ trusty main" > /etc/apt/sources.list.d/mesosphere.list \
13+ apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF \
14+ apt-get -y update \
15+ apt-get -y --no-install-recommends install mesos=${VERSION} \
16+ rm -rf /var/lib/apt/lists/*
1917
2018
2119ENTRYPOINT ["mesos-slave" ]
Original file line number Diff line number Diff line change @@ -4,17 +4,16 @@ MAINTAINER Container Solutions BV <info@container-solutions.com>
44ENV VERSION "0.25.0-0.2.70.ubuntu1404"
55
66RUN echo "deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main" > /etc/apt/sources.list.d/openjdk.list && \
7- apt-key adv --keyserver keyserver.ubuntu.com --recv 86F44E2A && \
8- apt-get update && \
9- apt-get -y install openjdk-8-jre-headless && \
10- rm -rf /var/lib/apt/lists/*
7+ apt-key adv --keyserver keyserver.ubuntu.com --recv 86F44E2A && \
8+ apt-get update && \
9+ apt-get -y --no-install-recommends install openjdk-8-jre-headless && \
10+ rm -rf /var/lib/apt/lists/*
1111
12- RUN echo "deb http://repos.mesosphere.io/ubuntu/ trusty main" > /etc/apt/sources.list.d/mesosphere.list
13- RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF
14- RUN apt-get -y update
15- RUN apt-get -y install mesos=${VERSION}
16-
17- RUN rm -rf /var/lib/apt/lists/*
12+ RUN echo "deb http://repos.mesosphere.io/ubuntu/ trusty main" > /etc/apt/sources.list.d/mesosphere.list \
13+ apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF \
14+ apt-get -y update \
15+ apt-get -y --no-install-recommends install mesos=${VERSION} \
16+ rm -rf /var/lib/apt/lists/*
1817
1918CMD ["--registry=in_memory" ]
2019ENTRYPOINT ["mesos-master" ]
You can’t perform that action at this time.
0 commit comments