Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit 836b2ee

Browse files
committed
php: add PHP_INI_DIR env variable
1 parent 5d1ede0 commit 836b2ee

35 files changed

+105
-0
lines changed

docker/7.0-apache.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.0, Apache, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.0
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.0-cgi.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CGI 7.0, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.0
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.0-cli.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.0, additional PHP extensions, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.0
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.0-lighttpd.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.0, Lighttpd, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.0
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.0-litespeed.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.0, OpenLiteSpeed, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.0
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.0-nginx.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.0, Nginx, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.0
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.0.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.0, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.0
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.1-apache.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.1, Apache, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.1
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.1-cgi.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CGI 7.1, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.1
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.1-cli.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.1, additional PHP extensions, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.1
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.1-lighttpd.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.1, Lighttpd, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.1
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.1-litespeed.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.1, OpenLiteSpeed, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.1
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.1-nginx.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.1, Nginx, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.1
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.1.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.1, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.1
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.2-apache.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.2, Apache, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.2
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.2-cgi.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CGI 7.2, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.2
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.2-cli.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.2, additional PHP extensions, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.2
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.2-lighttpd.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.2, Lighttpd, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.2
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.2-litespeed.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.2, OpenLiteSpeed, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.2
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.2-nginx.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.2, Nginx, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.2
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.2.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.2, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.2
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.3-apache.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.3, Apache, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.3
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.3-cgi.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CGI 7.3, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.3
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.3-cli.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.3, additional PHP extensions, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.3
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.3-lighttpd.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.3, Lighttpd, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.3
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.3-litespeed.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.3, OpenLiteSpeed, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.3
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.3-nginx.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.3, Nginx, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.3
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.3.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.3, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.3
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.4-apache.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, Apache, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.4
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.4-cgi.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CGI 7.4, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.4
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.4-cli.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.4, additional PHP extensions, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.4
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.4-lighttpd.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, Lighttpd, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.4
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.4-litespeed.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, OpenLiteSpeed, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.4
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.4-nginx.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, Nginx, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.4
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

docker/7.4.Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.4, and Alpine" \
1313
org.label-schema.url="https://github.com/phpearth/docker-php"
1414

15+
# PHP_INI_DIR to be symmetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.4
17+
1518
ENV \
1619
# When using Composer, disable the warning about running commands as root/super user
1720
COMPOSER_ALLOW_SUPERUSER=1 \

0 commit comments

Comments
 (0)