From 895a4b202d2ed7ebfc3253e3d92db481da64a5f1 Mon Sep 17 00:00:00 2001 From: Stefano Ortolani Date: Wed, 17 Jul 2024 17:37:20 +0100 Subject: [PATCH] Fix sed --- core/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Dockerfile b/core/Dockerfile index 96356bd..9803875 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -59,7 +59,7 @@ FROM php-base as composer-build cp /usr/bin/composer /composer.phar mkdir /out/ php -r '$phar = new Phar("/composer.phar"); $phar->extractTo("/out/");' - sed -i "/'verify_peer_name'.*/a 'verify_peer_status' => CURLOPT_SSL_VERIFYSTATUS," /out/src/Composer/Util/Http/CurlDownloader.php + sed -i "/'verify_peer_name' =>.*/a 'verify_peer_status' => CURLOPT_SSL_VERIFYSTATUS," /out/src/Composer/Util/Http/CurlDownloader.php sed -i "/\$options = StreamContextFactory.*/a \$options['ssl']['verify_peer'] = false;" /out/src/Composer/Util/Http/CurlDownloader.php sed -i "/\$options = StreamContextFactory.*/a \$options['ssl']['verify_peer_name'] = false;" /out/src/Composer/Util/Http/CurlDownloader.php sed -i "/\$options = StreamContextFactory.*/a \$options['ssl']['verify_peer_status'] = false;" /out/src/Composer/Util/Http/CurlDownloader.php