mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-11-30 04:29:15 +01:00
Update README.md (#658)
This commit is contained in:
parent
60f1b37ba1
commit
3147589a60
@ -52,6 +52,11 @@ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr
|
||||
|
||||
RUN install-php-extensions gd xdebug
|
||||
```
|
||||
Alternative that does not increase the image size with the tool
|
||||
```
|
||||
RUN --mount=type=bind,from=mlocati/php-extension-installer:1.5,source=/usr/bin/install-php-extensions,target=/usr/local/bin/install-php-extensions \
|
||||
install-php-extensions pcntl
|
||||
```
|
||||
|
||||
> **Warning**: by using this method you may use an outdated version of the `mlocati/php-extension-installer` image.
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user