Update README.md (#659)

Syntax highlighting
pull/660/head
Max Ageev 2022-11-18 19:23:28 +04:00 committed by GitHub
parent 3147589a60
commit e17de5b5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ 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
```
```Dockerfile
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
```