Fixes issue #379 docker build fails, added symlink needed in build, moved cowsay comment out of last line, due to error in newer docker releases

This commit is contained in:
Nick Barendregt (Msc.) 2017-11-03 16:56:24 +01:00
parent 1d4a31cba8
commit bb1e9f80c3
No known key found for this signature in database
GPG key ID: A1CE7399FD4E1A15

View file

@ -63,6 +63,7 @@ RUN service mysql restart && \
echo "echo hhvm" > /bin/phpenv && chmod +x /bin/phpenv && \
cd /var/www/html && \
chmod +x before_install.sh && \
ln -s /var/www/passman /var/www/html/passman && \
sleep 1 && \
/bin/bash -c "./before_install.sh passman master mysql; exit 0" && \
mv /var/www/server/* /var/www/html/ && \
@ -85,6 +86,7 @@ EXPOSE 80
EXPOSE 443
ENTRYPOINT service mysql start && \
service apache2 start && \
#/usr/games/cowsay -f dragon.cow "you might now login using username:admin password:admin" && \
bash -c "trap 'echo stopping services...; service apache2 stop && service mysql stop && exit 0' SIGTERM SIGKILL; \
tail -f /var/www/html/data/nextcloud.log"
#/usr/games/cowsay -f dragon.cow "you might now login using username:admin password:admin" && \