ByteInternet / hypernode-docker

Fast and easy Docker for Magento development
https://community.hypernode.io/hypernode-docker
35 stars 8 forks source link

Magerun2 needs updating in php8.1 image #69

Closed ghost closed 1 year ago

ghost commented 1 year ago

In the 8.1 image magerun2 command is not working because the version is not compatible with php 8.X

tdgroot commented 1 year ago

Have you tried using n98-magerun2-5.0.0?

ghost commented 1 year ago

@tdgroot Yes tried, and works. A manual upgrade works. But would be nice if the correct version was in the docker images by default. If we could create a pull request for this we would :-)

DjQuinnEXP commented 1 year ago

@tdgroot Is it possible that you can set the /usr/local/bin/magerun2 alias for 8.1 symlinked to the /usr/local/bin/n98-magerun2-5.0.0

Thanks

ghost commented 1 year ago

ln -sf /usr/local/bin/n98-magerun2-5.0.0 /usr/local/bin/magerun2 ln -sf /usr/local/bin/n98-magerun2-5.0.0 /usr/local/bin/magerun

tdgroot commented 1 year ago

We now install the latest version of n98-magerun2 on the Docker images.