Skip to content

Commit

Permalink
Merge pull request #711 from infosiftr/php.ini
Browse files Browse the repository at this point in the history
Ship PHP's example "php.ini-production" and "php.ini-development" files in "$PHP_INI_DIR"
  • Loading branch information
yosifkit committed Aug 28, 2018
2 parents 74b59e1 + 88189f0 commit d6b1dc3
Show file tree
Hide file tree
Showing 61 changed files with 244 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 5.6/alpine3.7/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/alpine3.7/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/alpine3.7/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/alpine3.8/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/alpine3.8/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/alpine3.8/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/jessie/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/jessie/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/jessie/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/jessie/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/stretch/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/stretch/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/stretch/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 5.6/stretch/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/alpine3.7/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/alpine3.7/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/alpine3.7/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/jessie/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/jessie/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/jessie/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/jessie/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/stretch/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/stretch/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/stretch/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.0/stretch/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/alpine3.7/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/alpine3.7/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/alpine3.7/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/alpine3.8/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/alpine3.8/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/alpine3.8/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ RUN set -xe \
&& make install \
&& { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } \
&& make clean \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
&& cp -v php.ini-* "$PHP_INI_DIR/" \
\
&& cd / \
&& docker-php-source delete \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/jessie/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/jessie/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/jessie/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/jessie/zts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
4 changes: 4 additions & 0 deletions 7.1/stretch/apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ RUN set -eux; \
make install; \
find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; \
make clean; \
\
# https://github.com/docker-library/php/issues/692 (copy default example "php.ini" files somewhere easily discoverable)
cp -v php.ini-* "$PHP_INI_DIR/"; \
\
cd /; \
docker-php-source delete; \
\
Expand Down
Loading

0 comments on commit d6b1dc3

Please sign in to comment.