From e9144fa2fc59799f8dd463a1d7567830382d5d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 14 Jun 2022 14:21:37 +0000 Subject: [PATCH] Specify scrypt commit sha --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3cf760710..ff3dfd840 100755 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ ENV PHP_REDIS_VERSION=5.3.7 \ PHP_SWOOLE_VERSION=v4.8.9 \ PHP_IMAGICK_VERSION=3.7.0 \ # For SCRYPT never go v1.4.2 or lower. That doesnt work on PHP 8 + Alpine3.15/16 - PHP_SCRYPT_VERSION=master \ + PHP_SCRYPT_COMMIT_SHA=3b01fd422300032d2ba91f978d8c9131fa519b72 \ PHP_YAML_VERSION=2.2.2 \ PHP_MAXMINDDB_VERSION=v1.11.0 @@ -99,8 +99,9 @@ RUN \ ## Scrypt Extension FROM compile AS scrypt RUN \ - git clone --depth 1 --branch $PHP_SCRYPT_VERSION https://github.com/DomBlack/php-scrypt.git && \ + git clone --depth 1 --branch master https://github.com/DomBlack/php-scrypt.git && \ cd php-scrypt && \ + git reset --hard $PHP_SCRYPT_COMMIT_SHA && \ phpize && \ ./configure --enable-scrypt && \ make && make install