1
0
Fork 0
mirror of synced 2024-05-21 05:02:37 +12:00

Specify scrypt commit sha

This commit is contained in:
Matej Bačo 2022-06-14 14:21:37 +00:00
parent 697bb569ef
commit e9144fa2fc

View file

@ -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