Skip to content

Commit e300349

Browse files
author
Aleksandr Guljajev
committed
First commit
0 parents  commit e300349

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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/*

agent/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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"]

master/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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"]

0 commit comments

Comments
 (0)