Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
marathon 0.5.1 Dockerfile
# 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
You can’t perform that action at this time.