mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-24 16:08:41 +00:00
chore(install/bundle): set Dockerfile build from new branch name
We've just change php7 branch as the master branch, and php5 version turned into legacy. To make docker automated build work correctly, the branch name specify now changed.
This commit is contained in:
parent
fd2f41eb4e
commit
fa5f1759e0
@ -4,7 +4,7 @@ MAINTAINER MascoSkray <MascoSkray@gmail.com>
|
|||||||
#Update apt and install git
|
#Update apt and install git
|
||||||
RUN apt-get update && apt-get install -y git gnupg
|
RUN apt-get update && apt-get install -y git gnupg
|
||||||
#Clone the latest UOJ Community verison to local
|
#Clone the latest UOJ Community verison to local
|
||||||
RUN cd ~ && git clone https://github.com/UniversalOJ/UOJ-System.git --depth 1 -b php7
|
RUN cd ~ && git clone https://github.com/UniversalOJ/UOJ-System.git --depth 1
|
||||||
#Install environment and set startup script
|
#Install environment and set startup script
|
||||||
RUN cd ~/UOJ-System/install/bundle && bash install.sh -e && echo "\
|
RUN cd ~/UOJ-System/install/bundle && bash install.sh -e && echo "\
|
||||||
#!/bin/bash\n\
|
#!/bin/bash\n\
|
||||||
|
Loading…
Reference in New Issue
Block a user