-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
37 lines (31 loc) · 1.06 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From ubuntu:14.04
RUN echo "deb http://repos.mesosphere.io/ubuntu/ trusty main" > /etc/apt/sources.list.d/mesosphere.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
apt-get update
RUN apt-get install -y mesosphere
EXPOSE 5050
CMD ["mesos-master", "--work_dir=/var/log/mesos"]
# TESTING CONFIG:
#FROM ubuntu:14.04
#MAINTAINER Bryce Kottke <[email protected]>
#
## Install Mesosphere
#RUN echo "deb http://repos.mesosphere.io/ubuntu/ trusty main" > /etc/apt/sources.list.d/mesosphere.list && \
# apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
# apt-get update
#RUN apt-get install -y mesosphere
#
## Install Marathon
#ADD http://downloads.mesosphere.com/marathon/v0.7.5/marathon-0.7.5.tgz /tmp/marathon-0.7.5.tgz
#RUN cd /opt/ && tar xvf /tmp/marathon-0.7.5.tgz && mv marathon-0.7.5 marathon
#
## Start mesos-master and marathon
##ADD ./start.sh /start.sh
##RUN chmod +x /start.sh
##EXPOSE 8080
##EXPOSE 5050
##CMD [“/bin/bash”, “/start.sh”]
#
## Old
#EXPOSE 5050
#CMD ["mesos-master", "--work_dir=/var/log/mesos"]