File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ get_modules_from_image() {
67
67
local modules
68
68
69
69
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 \
71
71
| sed ' s/Zend //g' \
72
72
| sed ' s/xdebug/Xdebug/g' \
73
73
| sed ' s/Core//g' \
@@ -77,19 +77,19 @@ get_modules_from_image() {
77
77
) "
78
78
79
79
# 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
81
81
modules=" $( printf " %s\n%s\n" " ${modules} " " ioncube" ) " ;
82
82
fi
83
83
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
85
85
modules=" $( printf " %s\n%s\n" " ${modules} " " blackfire" ) " ;
86
86
fi
87
87
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
89
89
modules=" $( printf " %s\n%s\n" " ${modules} " " psr" ) " ;
90
90
fi
91
91
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
93
93
modules=" $( printf " %s\n%s\n" " ${modules} " " phalcon" ) " ;
94
94
fi
95
95
You can’t perform that action at this time.
0 commit comments