forked from catchpoint/WebPageTest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated from php:5.6-apache to php:7.4-apache.
- Loading branch information
1 parent
db9b6af
commit b798a02
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
FROM php:5.6-apache | ||
FROM php:7.4-apache | ||
MAINTAINER iteratec WPT Team <[email protected]> | ||
|
||
RUN chmod o+r /etc/resolv.conf | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -q -y --allow-unauthenticated \ | ||
imagemagick \ | ||
|
@@ -23,7 +25,9 @@ RUN apt-get update && \ | |
apt-get clean && \ | ||
apt-get autoclean | ||
|
||
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \ | ||
RUN apt-get install libzip-dev -y | ||
|
||
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ && \ | ||
docker-php-ext-install gd && \ | ||
docker-php-ext-install zip && \ | ||
docker-php-ext-install curl && \ | ||
|
@@ -53,6 +57,9 @@ RUN chown -R www-data:www-data /var/www/html && \ | |
|
||
COPY docker/server/config/locations.ini /var/www/html/settings/locations.ini | ||
COPY docker/server/config/php.ini /usr/local/etc/php/ | ||
|
||
RUN pear config-set php_ini /usr/local/etc/php/php.ini | ||
|
||
COPY docker/server/config/apache2.conf /etc/apache2/apache2.conf | ||
COPY docker/server/config/crontab /etc/crontab | ||
|
||
|