Added direct execution from curl (#677)

pull/680/head
GreyXor 2022-12-29 16:36:10 +01:00 committed by GitHub
parent 26d93fe774
commit 9c94d6d21c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

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