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:
ceabrobot 2017-11-25 17:27:35 +00:00 committed by Masco Skray
parent 94c827e5b3
commit a1b372dd31

View File

@ -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\