Skip to content

Commit e288488

Browse files
feat: change Dockerfile
1 parent 8423a71 commit e288488

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

php/7.1.33/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN set -eux; \
3131
; \
3232
rm -rf /var/lib/apt/lists/*
3333

34-
ENV PHP_INI_DIR /usr/local/etc/php
34+
ENV PHP_INI_DIR ="/usr/local/etc/php"
3535
RUN set -eux; \
3636
mkdir -p "$PHP_INI_DIR/conf.d"; \
3737
# allow running as an arbitrary user (https://github.com/docker-library/php/issues/743)
@@ -41,7 +41,7 @@ RUN set -eux; \
4141
chmod 777 /var/www/html
4242

4343
##<autogenerated>##
44-
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi
44+
ENV PHP_EXTRA_CONFIGURE_ARGS="--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi"
4545
##</autogenerated>##
4646

4747
# Apply stack smash protection to functions using local buffers and alloca()

php/7.2.34/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN set -eux; \
3030
; \
3131
rm -rf /var/lib/apt/lists/*
3232

33-
ENV PHP_INI_DIR /usr/local/etc/php
33+
ENV PHP_INI_DIR = "/usr/local/etc/php"
3434
RUN set -eux; \
3535
mkdir -p "$PHP_INI_DIR/conf.d"; \
3636
# allow running as an arbitrary user (https://github.com/docker-library/php/issues/743)
@@ -40,7 +40,7 @@ RUN set -eux; \
4040
chmod 777 /var/www/html
4141

4242
##<autogenerated>##
43-
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi
43+
ENV PHP_EXTRA_CONFIGURE_ARGS="--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi"
4444
##</autogenerated>##
4545

4646
# Apply stack smash protection to functions using local buffers and alloca()

0 commit comments

Comments
 (0)