Created
June 12, 2014 09:47
-
-
Save rasputnik/155aa11277147178fe8f to your computer and use it in GitHub Desktop.
marathon 0.5.1 Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run marathon 0.5.1 against mesos 0.18.2 | |
# | |
# docker build -t 'your/marathon051' <directory-holding-this-file> | |
# | |
# then run with: | |
# docker run -name marathon -d your/marathon051 ..... command line args .... | |
# | |
# logs via : docker logs -f marathon | |
FROM centos | |
MAINTAINER Dick Davies <dick@hellooperator.net> | |
# install jdk | |
RUN yum install -y java-1.7.0-openjdk | |
# install mesos 0.18.2 (just for libmesos) | |
RUN yum install -y http://downloads.mesosphere.io/master/centos/6/mesos_0.18.2_x86_64.rpm | |
# extract marathon tarball to /opt/ | |
RUN yum install -y tar curl | |
RUN cd /opt && curl -s http://downloads.mesosphere.io/marathon/marathon-0.5.1/marathon-0.5.1.tgz | tar zxv | |
EXPOSE 8080 | |
WORKDIR /opt/marathon-0.5.1 | |
CMD ["--help"] | |
ENTRYPOINT ["/opt/marathon-0.5.1/bin/start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment