From 59003872370b37e6bcdddcc6a0fe2a50db49fb13 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Wed, 31 Aug 2022 13:21:52 +0000 Subject: [PATCH] fix zstd build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b7fd6c6912..a7cae38502 100755 --- a/Dockerfile +++ b/Dockerfile @@ -127,8 +127,9 @@ RUN \ # Zstd Compression FROM compile as zstd -RUN git clone --recursive --depth 1 --branch $PHP_ZSTD_VERSION https://github.com/kjdev/php-ext-zstd.git \ +RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \ && cd php-ext-zstd \ + && git checkout $PHP_ZSTD_VERSION \ && phpize \ && ./configure --with-libzstd \ && make && make install