forked from wyveo/nginx-php-fpm
-
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.
Update nginx to 1.19.1; Update composer to 1.10.9
- Loading branch information
1 parent
dcf797c
commit 850d7fa
Showing
7 changed files
with
31 additions
and
24 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
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 |
---|---|---|
|
@@ -4,10 +4,10 @@ LABEL maintainer="Colin Wilson [email protected]" | |
|
||
# Let the container know that there is no tty | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV NGINX_VERSION 1.17.9-1~buster | ||
ENV NGINX_VERSION 1.19.1-1~buster | ||
ENV php_conf /etc/php/7.4/fpm/php.ini | ||
ENV fpm_conf /etc/php/7.4/fpm/pool.d/www.conf | ||
ENV COMPOSER_VERSION 1.9.3 | ||
ENV COMPOSER_VERSION 1.10.9 | ||
|
||
# Install Basic Requirements | ||
RUN buildDeps='curl gcc make autoconf libc-dev zlib1g-dev pkg-config' \ | ||
|
@@ -88,17 +88,19 @@ RUN buildDeps='curl gcc make autoconf libc-dev zlib1g-dev pkg-config' \ | |
&& ln -sf /etc/php/7.4/mods-available/memcached.ini /etc/php/7.4/fpm/conf.d/20-memcached.ini \ | ||
&& ln -sf /etc/php/7.4/mods-available/memcached.ini /etc/php/7.4/cli/conf.d/20-memcached.ini \ | ||
&& ln -sf /etc/php/7.4/mods-available/imagick.ini /etc/php/7.4/fpm/conf.d/20-imagick.ini \ | ||
&& ln -sf /etc/php/7.4/mods-available/imagick.ini /etc/php/7.4/cli/conf.d/20-imagick.ini | ||
|
||
RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \ | ||
&& curl -o /tmp/composer-setup.sig https://composer.github.io/installer.sig \ | ||
&& php -r "if (hash('SHA384', file_get_contents('/tmp/composer-setup.php')) !== trim(file_get_contents('/tmp/composer-setup.sig'))) { unlink('/tmp/composer-setup.php'); echo 'Invalid installer' . PHP_EOL; exit(1); }" \ | ||
&& php /tmp/composer-setup.php --no-ansi --install-dir=/usr/local/bin --filename=composer --version=${COMPOSER_VERSION} && rm -rf /tmp/composer-setup.php | ||
|
||
# Clean up | ||
RUN rm -rf /tmp/pear \ | ||
&& ln -sf /etc/php/7.4/mods-available/imagick.ini /etc/php/7.4/cli/conf.d/20-imagick.ini \ | ||
# Install Composer | ||
&& curl -o /tmp/composer-setup.php https://getcomposer.org/installer \ | ||
&& curl -o /tmp/composer-setup.sig https://composer.github.io/installer.sig \ | ||
&& php -r "if (hash('SHA384', file_get_contents('/tmp/composer-setup.php')) !== trim(file_get_contents('/tmp/composer-setup.sig'))) { unlink('/tmp/composer-setup.php'); echo 'Invalid installer' . PHP_EOL; exit(1); }" \ | ||
&& php /tmp/composer-setup.php --no-ansi --install-dir=/usr/local/bin --filename=composer --version=${COMPOSER_VERSION} \ | ||
&& rm -rf /tmp/composer-setup.php \ | ||
# Clean up | ||
&& rm -rf /tmp/pear \ | ||
&& apt-get purge -y --auto-remove $buildDeps \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* | ||
&& apt-get clean \ | ||
&& apt-get autoremove \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Supervisor config | ||
ADD ./supervisord.conf /etc/supervisord.conf | ||
|
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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