SINGA-89 Add Docker support Changed the Dockerfile for building Mesos to compile the scheduler directly from the main brach (after SINGA-11 is merged).
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/d6c39635 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/d6c39635 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/d6c39635 Branch: refs/heads/master Commit: d6c3963541ed2b639e5193906bf3ec38d8bd3d54 Parents: 5277935 Author: Anh Dinh <[email protected]> Authored: Wed Oct 21 11:43:17 2015 +0800 Committer: Anh Dinh <[email protected]> Committed: Wed Oct 21 11:43:45 2015 +0800 ---------------------------------------------------------------------- tool/docker/mesos/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/d6c39635/tool/docker/mesos/Dockerfile ---------------------------------------------------------------------- diff --git a/tool/docker/mesos/Dockerfile b/tool/docker/mesos/Dockerfile index 2d4871c..224b0be 100644 --- a/tool/docker/mesos/Dockerfile +++ b/tool/docker/mesos/Dockerfile @@ -12,7 +12,9 @@ RUN apt-get -y install curl cmake libxml2 libxml2-dev uuid-dev protobuf-compiler RUN cd /opt && source /root/.bashrc && wget -c http://www.eu.apache.org/dist/hadoop/common/hadoop-2.6.0/hadoop-2.6.0.tar.gz && tar -zxvf hadoop-2.6.0.tar.gz && git clone https://github.com/PivotalRD/libhdfs3.git && cd libhdfs3 && mkdir build && cd build && cmake ../ && make && make install #to be removed after SINGA-11 is merged (pulling from Anh's branch instead of pulling from the master) -RUN source ~/.bashrc && mkdir /root/mesos && cd /root/mesos && git clone https://github.com/ug93tad/incubator-singa && cd incubator-singa && git checkout SINGA-11 && cp -r tool/mesos /root/incubator-singa/tool/ && cd /root/incubator-singa/tool/mesos && make +#RUN source ~/.bashrc && mkdir /root/mesos && cd /root/mesos && git clone https://github.com/ug93tad/incubator-singa && cd incubator-singa && git checkout SINGA-11 && cp -r tool/mesos /root/incubator-singa/tool/ && cd /root/incubator-singa/tool/mesos && make + +RUN source ~/.bashrc && cd /root/incubator-singa/tool/mesos && make COPY *.xml /opt/hadoop-2.6.0/etc/hadoop/
