Changes between Version 12 and Version 13 of dockerfile


Ignore:
Timestamp:
Oct 20, 2018, 3:38:47 AM (3 weeks ago)
Author:
ehb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dockerfile

    v12 v13  
    122122RUN ln -s /usr/bin/php /usr/local/bin/php
    123123
     124RUN apt-get install -y bind9-host
     125
     126RUN echo "export GENAPP=$GENAPP\n\
     127export PATH=\$GENAPP/bin:$PATH\n"\
     128> /etc/profile.d/genapp.sh
     129
     130RUN echo "<?php\n\
     131phpinfo();\n\
     132?>\n"\
     133> $WEBROOT/php_info.php
     134
     135RUN echo "# add Alias /genapptest $WEBROOT/genapptest\n\
     136<Directory $WEBROOT/genapptest>\n\
     137 Options FollowSymLinks\n\
     138 AllowOverride None\n\
     139 Order Allow,Deny\n\
     140 Allow from all\n\
     141</Directory>\n\
     142<Directory /var/www/>\n\
     143        Options FollowSymLinks\n\
     144        AllowOverride None\n\
     145        Require all granted\n\
     146</Directory>\n"\
     147> /etc/apache2/conf-enabled/security.conf
     148
     149CMD /etc/init.d/mongodb start && \
     150    /etc/init.d/apache2 start && \
     151    while true; do sleep 60; done
     152
    124153}}}