From 45759d1b6c9b8cb83dabaf960a598b98e5ee333b Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 8 Jul 2024 09:02:17 +0200 Subject: [PATCH] Suggest how to abort "docker build" if curl fails --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 93f1e46..21afc0d 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ RUN curl -sSLf \ ```Dockerfile FROM php:8.2-cli -RUN curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - | sh -s \ +RUN ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - || echo 'return 1' ) | sh -s \ gd xdebug ```