From 9c94d6d21c2d070804b24920d52e18950feb5899 Mon Sep 17 00:00:00 2001 From: GreyXor <79602273+GreyXor@users.noreply.github.com> Date: Thu, 29 Dec 2022 16:36:10 +0100 Subject: [PATCH] Added direct execution from curl (#677) --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 11b5369..1fd8592 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,18 @@ RUN curl -sSLf \ install-php-extensions gd xdebug ``` +#### With direct execution from curl + +```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 \ + gd \ + gmp \ + exif \ + opcache +``` + ### Copying the script from a Docker image ```Dockerfile