Skip to content

Instantly share code, notes, and snippets.

@tnachen
Created September 3, 2014 19:12
Show Gist options
  • Save tnachen/5aab48f2437786530f49 to your computer and use it in GitHub Desktop.
Save tnachen/5aab48f2437786530f49 to your computer and use it in GitHub Desktop.
FROM stackbrew/ubuntu:13.10
MAINTAINER Mesosphere support@mesosphere.io
RUN ["env", "DEBIAN_FRONTEND=noninteractive", "apt-get", "update"]
RUN ["env", "DEBIAN_FRONTEND=noninteractive", "apt-get", "install", "-y", "--fix-missing", "--force-yes", "python2.7", "libsasl2-2", "libcurl3", "curl", "wget", "unzip"]
RUN ["env", "DEBIAN_FRONTEND=noninteractive", "apt-get", "install", "-y", "--fix-missing", "--force-yes", "python", "python-setuptools", "python-pip", "python-protobuf"]
RUN ["env", "DEBIAN_FRONTEND=noninteractive", "apt-get", "install", "-y", "--fix-missing", "--force-yes", "default-jre-headless"]
ADD http://downloads.mesosphere.io/master/ubuntu/13.10/mesos_0.19.0-xcon2_amd64.deb /tmp/mesos.deb
RUN ["env", "DEBIAN_FRONTEND=noninteractive", "dpkg", "-i", "/tmp/mesos.deb"]
RUN ["bash", "-c", "echo manual > /etc/init/mesos-master.override"]
RUN ["bash", "-c", "echo manual > /etc/init/mesos-slave.override"]
ADD http://downloads.mesosphere.io/master/ubuntu/13.10/mesos_0.19.0-xcon2_amd64.egg /tmp/mesos.egg
RUN ["easy_install", "/tmp/mesos.egg"]
RUN ["rm", "-rf", "/tmp/mesos.egg", "/tmp/mesos.deb"]
CMD ["true"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment