mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-29 14:46:20 +00:00
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
|