mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 01:48:41 +00:00
fix(install/bundle): fix the dev-build bug
This is a hotfix to build a image when the php7 branch is developing. It will be reverted when this branch is merged to the master branch.
This commit is contained in:
parent
94c827e5b3
commit
a1b372dd31
@ -6,6 +6,7 @@ RUN apt-get update -y && apt-get install -y git
|
|||||||
#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
|
RUN cd ~ && git clone https://github.com/UniversalOJ/UOJ-System.git
|
||||||
#Install environment and set startup script
|
#Install environment and set startup script
|
||||||
|
RUN cd ~/UOJ-System/ && git checkout php7
|
||||||
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\
|
||||||
if [ ! -f "/var/svn/.UOJSetupDone" ]; then\n\
|
if [ ! -f "/var/svn/.UOJSetupDone" ]; then\n\
|
||||||
|
Loading…
Reference in New Issue
Block a user