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

Commit 9784273

Browse files
authored
php: add PHP_INI_DIR
1 parent 5d1ede0 commit 9784273

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docker/7.1-cgi.Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ 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-
ENV \
16-
# When using Composer, disable the warning about running commands as root/super user
17-
COMPOSER_ALLOW_SUPERUSER=1 \
18-
# Persistent runtime dependencies
19-
DEPS="php7.1 \
15+
# PHP_INI_DIR to be summetrical with official php docker image
16+
ENV PHP_INI_DIR /etc/php/7.1
17+
18+
# When using Composer, disable the warning about running commands as root/super user
19+
ENV COMPOSER_ALLOW_SUPERUSER=1
20+
21+
# Persistent runtime dependencies
22+
ARG DEPS="php7.1 \
2023
php7.1-phar \
2124
php7.1-bcmath \
2225
php7.1-calendar \

0 commit comments

Comments
 (0)