This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/main by this push:
     new 0cbd01b63 Fix PHP modules installation path (#2998)
0cbd01b63 is described below

commit 0cbd01b63c6b81048ec5c39e5ad6d98dfd48b376
Author: JB Onofré <[email protected]>
AuthorDate: Fri Jul 5 11:41:27 2024 +0200

    Fix PHP modules installation path (#2998)
---
 share/docker/Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile
index db733760a..30180b72b 100644
--- a/share/docker/Dockerfile
+++ b/share/docker/Dockerfile
@@ -133,6 +133,7 @@ RUN curl -sSL https://deb.nodesource.com/setup_14.x \
 
 # Install PHP-snappy and PHP-zstd
 ENV PHP7_VERSION=7.4
+RUN mkdir -p "/etc/php/${PHP7_VERSION}/cli/conf.d"
 RUN mkdir tmp && cd tmp \
  && git clone --recursive --depth=1 https://github.com/kjdev/php-ext-zstd.git \
  && cd php-ext-zstd \
@@ -140,7 +141,7 @@ RUN mkdir tmp && cd tmp \
  && ./configure \
  && make \
  && make install \
- && echo "extension=zstd.so" > /etc/php/${PHP7_VERSION}/cli/conf.d/10-zstd.ini 
\
+ && echo "extension=zstd.so" > 
"/etc/php/${PHP7_VERSION}/cli/conf.d/10-zstd.ini" \
  && cd .. && rm -rf php-ext-zstd \
  && git clone --recursive --depth=1 
https://github.com/kjdev/php-ext-snappy.git \
  && cd php-ext-snappy \
@@ -148,7 +149,7 @@ RUN mkdir tmp && cd tmp \
  && ./configure \
  && make \
  && make install \
- && echo "extension=snappy.so" > 
/etc/php/${PHP7_VERSION}/cli/conf.d/10-snappy.ini \
+ && echo "extension=snappy.so" > 
"/etc/php/${PHP7_VERSION}/cli/conf.d/10-snappy.ini" \
  && cd .. && rm -rf php-ext-snappy \
  && php -m \
  && apt-get -qqy clean

Reply via email to