Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyeo committed Dec 15, 2021
1 parent 64a2feb commit 882e388
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion php5.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&
RUN sed -ri -e "s/^upload_max_filesize.*/upload_max_filesize = 10M/" /usr/local/lib/php.ini
RUN sed -ri -e "s/^post_max_size.*/post_max_size = 10M/" /usr/local/lib/php.ini
RUN sed -i "s/display_errors = Off/display_errors = On/g" /usr/local/lib/php.ini
RUN sed -i "s/;phar.readonly = On/phar.readonly = Off/g" /usr/local/lib/php.ini
RUN sed -i "s/memory_limit = 128M/memory_limit = -1/g" /usr/local/lib/php.ini

RUN mkdir -p /var/run/mysqld
Expand Down
2 changes: 0 additions & 2 deletions php5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&
RUN sed -ri -e "s/^upload_max_filesize.*/upload_max_filesize = 10M/" /etc/php/5.6/apache2/php.ini
RUN sed -ri -e "s/^post_max_size.*/post_max_size = 10M/" /etc/php/5.6/apache2/php.ini
RUN sed -i "s/display_errors = Off/display_errors = On/g" /etc/php/5.6/apache2/php.ini
RUN sed -i "s/disable_functions/; disable_functions/g" /etc/php/5.6/apache2/php.ini
RUN sed -i "s/;phar.readonly = On/phar.readonly = Off/g" /etc/php/5.6/cli/php.ini
RUN sed -i "s/memory_limit = 128M/memory_limit = -1/g" /etc/php/5.6/cli/php.ini

RUN mkdir -p /var/run/mysqld
Expand Down
2 changes: 0 additions & 2 deletions php7.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&
RUN sed -ri -e "s/^upload_max_filesize.*/upload_max_filesize = 10M/" /etc/php/7.2/apache2/php.ini
RUN sed -ri -e "s/^post_max_size.*/post_max_size = 10M/" /etc/php/7.2/apache2/php.ini
RUN sed -i "s/display_errors = Off/display_errors = On/g" /etc/php/7.2/apache2/php.ini
RUN sed -i "s/disable_functions/; disable_functions/g" /etc/php/7.2/apache2/php.ini
RUN sed -i "s/;phar.readonly = On/phar.readonly = Off/g" /etc/php/7.2/cli/php.ini
RUN sed -i "s/memory_limit = 128M/memory_limit = -1/g" /etc/php/7.2/cli/php.ini

RUN mkdir -p /var/run/mysqld
Expand Down

0 comments on commit 882e388

Please sign in to comment.