mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 19:51:52 +00:00
d413b746eb
Without bundle, now you can choose to download single container. For example, you can only download judger container to setup a new judger. Also, the web container now no db and judger containing, except local sandbox. You can use docker-compose to get every single container work together from now. Single DB this time uses the latest MySQL 8 version, so some preferences are different.
10 lines
357 B
Docker
10 lines
357 B
Docker
FROM mysql:latest
|
|
MAINTAINER MascoSkray <MascoSkray@gmail.com>
|
|
|
|
#Update apt and install curl
|
|
RUN apt-get update && apt-get install -y curl
|
|
#Run the latest UOJ Community verison db install script
|
|
RUN export RAW_URL=https://raw.githubusercontent.com/UniversalOJ/UOJ-System/master && curl $RAW_URL/install/db/install.sh | sh
|
|
|
|
ENV LANG=C.UTF-8 TZ=Asia/Shanghai
|