From f1cee017524ed53d3e66f6a9ddef1eedab4126e1 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 21 Oct 2026 11:49:54 +0100 Subject: [PATCH] fix: fetch the configured scrypt release in shallow clones --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e4a9fb9..b7f75fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -135,9 +135,8 @@ RUN git clone --recursive https://github.com/kjdev/php-ext-snappy.git \ && strip --strip-unneeded /usr/local/lib/php/extensions/no-debug-non-zts-${PHP_API}/*.so FROM compile AS scrypt -RUN git clone --depth 1 https://github.com/DomBlack/php-scrypt.git \ +RUN git clone --depth 1 --branch $PHP_SCRYPT_VERSION https://github.com/DomBlack/php-scrypt.git \ && cd php-scrypt \ - && git reset --hard $PHP_SCRYPT_VERSION \ && phpize \ && ./configure --enable-scrypt \ && make && make install \