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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 3 additions & 0 deletions
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 \

0 commit comments

Comments
 (0)