Skip to content

Commit 7101c8c

Browse files
committed
Fix docker run
1 parent f00077a commit 7101c8c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bin/gen-readme.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ get_modules_from_image() {
6767
local modules
6868

6969
modules="$( \
70-
docker run --rm "$(tty -s && echo '-it' || echo)" --platform "${ARCH}" --entrypoint=php "${IMAGE}:${img_tag}" -m \
70+
docker run --rm --platform "${ARCH}" --entrypoint=php "${IMAGE}:${img_tag}" -m \
7171
| sed 's/Zend //g' \
7272
| sed 's/xdebug/Xdebug/g' \
7373
| sed 's/Core//g' \
@@ -77,19 +77,19 @@ get_modules_from_image() {
7777
)"
7878

7979
# Get modules which might be disabled
80-
if docker run --rm --platform "${ARCH}" "$(tty -s && echo '-it' || echo)" --entrypoint=find "${IMAGE}:${img_tag}" /usr/local/lib/php/extensions -name 'ioncube.so' | grep -q ioncube.so; then
80+
if docker run --rm --platform "${ARCH}" --entrypoint=find "${IMAGE}:${img_tag}" /usr/local/lib/php/extensions -name 'ioncube.so' | grep -q ioncube.so; then
8181
modules="$( printf "%s\n%s\n" "${modules}" "ioncube" )";
8282
fi
8383

84-
if docker run --rm --platform "${ARCH}" "$(tty -s && echo '-it' || echo)" --entrypoint=find "${IMAGE}:${img_tag}" /usr/local/lib/php/extensions -name 'blackfire.so' | grep -q blackfire.so; then
84+
if docker run --rm --platform "${ARCH}" --entrypoint=find "${IMAGE}:${img_tag}" /usr/local/lib/php/extensions -name 'blackfire.so' | grep -q blackfire.so; then
8585
modules="$( printf "%s\n%s\n" "${modules}" "blackfire" )";
8686
fi
8787

88-
if docker run --rm --platform "${ARCH}" "$(tty -s && echo '-it' || echo)" --entrypoint=find "${IMAGE}:${img_tag}" /usr/local/lib/php/extensions -name 'psr.so' | grep -q psr.so; then
88+
if docker run --rm --platform "${ARCH}" --entrypoint=find "${IMAGE}:${img_tag}" /usr/local/lib/php/extensions -name 'psr.so' | grep -q psr.so; then
8989
modules="$( printf "%s\n%s\n" "${modules}" "psr" )";
9090
fi
9191

92-
if docker run --rm --platform "${ARCH}" "$(tty -s && echo '-it' || echo)" --entrypoint=find "${IMAGE}:${img_tag}" /usr/local/lib/php/extensions -name 'phalcon.so' | grep -q phalcon.so; then
92+
if docker run --rm --platform "${ARCH}" --entrypoint=find "${IMAGE}:${img_tag}" /usr/local/lib/php/extensions -name 'phalcon.so' | grep -q phalcon.so; then
9393
modules="$( printf "%s\n%s\n" "${modules}" "phalcon" )";
9494
fi
9595

0 commit comments

Comments
 (0)