I have a Magento 1.7 version running on a container, and I would like to use n98-magerun.
How can install n98-magerun when using a Dockerfile and not docker-compose?
Add this to your Dockerfile.
RUN \
curl -sS -o n98-magerun.phar https://files.magerun.net/n98-magerun.phar && \
curl -sS -o n98-magerun.phar.sha256 https://files.magerun.net/sha256.php?file=n98-magerun.phar && \
shasum -a 256 -c n98-magerun.phar.sha256 && \
chmod +x n98-magerun.phar && \
mv n98-magerun.phar /usr/local/bin/n98-magerun.phar