mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-10 13:36:55 +08:00
Fixes error #379, try2, removed cowsay comment to prevent error in next docker releases
This commit is contained in:
parent
bb1e9f80c3
commit
35ebbbc8cd
1 changed files with 52 additions and 50 deletions
|
@ -39,9 +39,9 @@ RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \
|
|||
php-xml-serializer \
|
||||
php-zip \
|
||||
wget
|
||||
|
||||
RUN a2enmod ssl
|
||||
RUN ln -s /etc/apache2/sites-available/default-ssl.conf /etc/apache2/sites-enabled
|
||||
ADD https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh /var/www/html/
|
||||
ADD ./appinfo/ /var/www/passman/appinfo/
|
||||
ADD ./controller/ /var/www/passman/controller/
|
||||
ADD ./css/ /var/www/passman/css/
|
||||
|
@ -54,6 +54,7 @@ ADD ./middleware /var/www/passman/middleware
|
|||
ADD ./templates/* /var/www/passman/templates/
|
||||
COPY ./*.md /var/www/passman/
|
||||
COPY ./LICENSE /var/www/passman/
|
||||
ADD https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh /var/www/passman
|
||||
|
||||
RUN service mysql restart && \
|
||||
mysql -uroot -pPASS -e "SET PASSWORD = PASSWORD('');" && \
|
||||
|
@ -61,11 +62,11 @@ RUN service mysql restart && \
|
|||
sed -i '0,/.*ssl-cert-snakeoil.pem.*/s/.*ssl-cert-snakeoil.pem.*/SSLCertificateFile \/etc\/ssl\/private\/cert.pem/' /etc/apache2/sites-enabled/default-ssl.conf && \
|
||||
sed -i '0,/.*SSLCertificateKeyFile.*/s/.*SSLCertificateKeyFile.*/SSLCertificateKeyFile \/etc\/ssl\/private\/privkey.pem/' /etc/apache2/sites-enabled/default-ssl.conf && \
|
||||
echo "echo hhvm" > /bin/phpenv && chmod +x /bin/phpenv && \
|
||||
cd /var/www/html && \
|
||||
cd /var/www/passman && \
|
||||
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" && \
|
||||
rm /var/www/server/apps/passman/before_install.sh && \
|
||||
mv /var/www/server/* /var/www/html/ && \
|
||||
cd /var/www/html/ && \
|
||||
chmod +x occ && \
|
||||
|
@ -90,3 +91,4 @@ ENTRYPOINT service mysql start && \
|
|||
tail -f /var/www/html/data/nextcloud.log"
|
||||
|
||||
#/usr/games/cowsay -f dragon.cow "you might now login using username:admin password:admin" && \
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue