mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 19:51:52 +00:00
69912ba9b3
* feat(install, svn): remove svn Remove everything related to svn. Rename uoj-svn-lib to uoj-data-lib. Save preparing problem data to /var/uoj_data/prepare/problem_id. * Typo: uoj_date -> uoj_data * add: backward compatibility BREAKING CHANGE: Preparing problem data location is changed You need to move files from /var/svn/problem/{id}/cur/{id}/1 to /var/uoj_data/upload/{id}
31 lines
552 B
Docker
31 lines
552 B
Docker
FROM ubuntu:14.04
|
|
MAINTAINER vfleaking vfleaking@163.com
|
|
|
|
COPY docker/sources.list /etc/apt/sources.list
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y vim \
|
|
ntp \
|
|
build-essential \
|
|
python \
|
|
python-requests \
|
|
git \
|
|
unzip
|
|
|
|
COPY docker/jdk-7u76-linux-x64.tar.gz \
|
|
docker/jdk-8u31-linux-x64.tar.gz \
|
|
docker/judge_client/conf.json \
|
|
/root/
|
|
COPY docker/judge_client/cur_install /root/install
|
|
|
|
RUN cd /root && chmod +x install
|
|
RUN cd /root && ./install && rm * -rf
|
|
|
|
COPY docker/judge_client/up /root/up
|
|
|
|
RUN chmod +x /root/up
|
|
|
|
EXPOSE 2333
|
|
|
|
CMD /root/up
|