Skip to content

Commit 3147589

Browse files
authored
Update README.md (mlocati#658)
1 parent 60f1b37 commit 3147589

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr
5252

5353
RUN install-php-extensions gd xdebug
5454
```
55+
Alternative that does not increase the image size with the tool
56+
```
57+
RUN --mount=type=bind,from=mlocati/php-extension-installer:1.5,source=/usr/bin/install-php-extensions,target=/usr/local/bin/install-php-extensions \
58+
install-php-extensions pcntl
59+
```
5560

5661
> **Warning**: by using this method you may use an outdated version of the `mlocati/php-extension-installer` image.
5762
>

0 commit comments

Comments
 (0)