From 553beaa470290b447f51881e92d48ba03142925e Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Thu, 4 Feb 2016 00:01:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=20Judger=20=E7=9A=84=20dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfiles/judger/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dockerfiles/judger/Dockerfile b/dockerfiles/judger/Dockerfile index 5bc0bd89..4780eeda 100644 --- a/dockerfiles/judger/Dockerfile +++ b/dockerfiles/judger/Dockerfile @@ -8,13 +8,13 @@ RUN apt-get update RUN apt-get -y install software-properties-common python-software-properties RUN add-apt-repository -y ppa:webupd8team/java RUN apt-get update -RUN apt-get -y install python gcc g++ rake pkg-config git make autoconf automake libtool python-pip python2.7-mysqldb +RUN apt-get -y install python python-dev gcc g++ git make autoconf automake libtool python-pip RUN echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections RUN apt-get install -y oracle-java7-installer RUN apt-get -y install libseccomp-dev -RUN git clone https://github.com/quark-zju/lrun.git -RUN cd lrun && make install +RUN git clone https://github.com/QingdaoU/Judger +RUN cd Judger && python setup.py install RUN mkdir -p /var/judger/run/ && mkdir /var/judger/test_case/ && mkdir /var/judger/code/ RUN chmod -R 777 /var/judger/run/ COPY policy /var/judger/run/