mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2025-01-26 02:09:59 +00:00
c5ef73dc76
The installation files are dirty when they are outside of the folder. It now looks not so mess. And there is no need to place empty jdk files. 果断删除之。
31 lines
647 B
Docker
31 lines
647 B
Docker
FROM vfleaking/uoj
|
|
MAINTAINER vfleaking vfleaking@163.com
|
|
COPY docker/sources.list /etc/apt/sources.list
|
|
COPY uoj/1 /root/uoj_1
|
|
COPY judge_client/1 /root/judge_client_1
|
|
|
|
COPY docker/new_problem.sh \
|
|
docker/post-commit.sh \
|
|
docker/uoj-passwd \
|
|
docker/uoj-post-commit \
|
|
docker/gen-uoj-config.php \
|
|
docker/app_uoj233.sql \
|
|
/root/
|
|
|
|
COPY docker/jdk-7u76-linux-x64.tar.gz \
|
|
docker/jdk-8u31-linux-x64.tar.gz \
|
|
/home/local_main_judger/
|
|
|
|
COPY docker/install /root/install
|
|
|
|
RUN cd /root && php gen-uoj-config.php && chmod +x install
|
|
RUN cd /root && ./install && rm * -rf
|
|
|
|
COPY docker/up /root/up
|
|
|
|
RUN chmod +x /root/up
|
|
|
|
EXPOSE 80 3690
|
|
|
|
CMD /root/up
|