File tree Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:14.04
2+
3+ ENV VERSION "0.25.0"
4+
5+ MAINTAINER Container Solutions BV <info@container-solutions.com>
6+
7+ RUN 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}
17+
18+ RUN rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 1+ FROM ubuntu:14.04
2+
3+ ENV VERSION "0.25.0"
4+
5+ MAINTAINER Container Solutions BV <info@container-solutions.com>
6+
7+ RUN 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}
17+
18+ RUN rm -rf /var/lib/apt/lists/*
19+
20+
21+ ENTRYPOINT ["mesos-slave" ]
Original file line number Diff line number Diff line change 1+ FROM ubuntu:14.04
2+
3+ ENV VERSION "0.25.0"
4+
5+ MAINTAINER Container Solutions BV <info@container-solutions.com>
6+
7+ RUN 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}
17+
18+ RUN rm -rf /var/lib/apt/lists/*
19+
20+ CMD ["--registry=in_memory" ]
21+ ENTRYPOINT ["mesos-master" ]
You can’t perform that action at this time.
0 commit comments