File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,11 +163,14 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
163163
164164# Install Magerun2
165165# Use https://files.magerun.net/n98-magerun2-7.5.0.phar for PHP 7.4
166+ # Use https://files.magerun.net/n98-magerun2-9.5.1.phar for PHP 8.1 (10.0.0 requires PHP >= 8.2)
166167# Use https://files.magerun.net/n98-magerun2-6.1.1.phar for PHP 7.3
167168# Use https://files.magerun.net/n98-magerun2-4.7.0.phar for PHP 7.2
168169# Use https://files.magerun.net/n98-magerun-1.103.2.phar for PHP 7.1
169170RUN set -e; \
170- if [ "$PHP_VERSION" = "7.4" ]; then \
171+ if [ "$PHP_VERSION" = "8.1" ]; then \
172+ url="https://files.magerun.net/n98-magerun2-9.5.1.phar" ; \
173+ elif [ "$PHP_VERSION" = "7.4" ]; then \
171174 url="https://files.magerun.net/n98-magerun2-7.5.0.phar" ; \
172175 elif [ "$PHP_VERSION" = "7.3" ]; then \
173176 url="https://files.magerun.net/n98-magerun2-6.1.1.phar" ; \
You can’t perform that action at this time.
0 commit comments