Last active
August 29, 2015 14:26
-
-
Save etaf/92302ccd525b43a61bfa to your computer and use it in GitHub Desktop.
kemy-docker
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
FROM centos | |
MAINTAINER etaf <fjdksfjdks@qq.com> | |
RUN yum install -y epel-release | |
RUN yum install -y git boost boost-devel libX11-devel xorg-x11-proto-devel libXt-devel libXmu-devel autoconf automake make gcc gcc-c++ protobuf protobuf-devel pkg-conf jemalloc* | |
RUN cd /home && curl -sSL http://etaf.me/public/ns-allinone-2.35.tar.gz | tar -xz | |
RUN cd /home/ns-all* && rm ns-* -rf && git clone --recursive https://github.com/etaf/ns4kemy.git && mv ns4kemy ns-2.35 | |
RUN cd /home/ns-all*/ns-*/queue/kemy-train && ./autogen.sh && ./configure > configure_out && make clean && make | |
RUN cd /home/ns-all* && sed -i '1i alias make="make -j 4"' ./install && ./install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment