mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 08:23:20 +00:00
新 Judger 的 dockerfile
This commit is contained in:
parent
f5c6386de2
commit
553beaa470
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user