Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image laradock/workspace:latest-8.0 has php 8.1.2 instead of 8.0.x #54

Open
nigelprimex opened this issue Feb 21, 2022 · 1 comment

Comments

@nigelprimex
Copy link

The version for php 8.0 has 8.1 - which breaks many many things.

docker run -it --rm laradock/workspace:latest-8.0 bash
root@765eba62c5dc:/# php -v
PHP 8.1.2 (cli) (built: Jan 24 2022 10:42:33) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies
root@765eba62c5dc:/# exit
@nigelprimex
Copy link
Author

It seems both are installed. I added:

RUN update-alternatives --set php /usr/bin/php${LARADOCK_PHP_VERSION}

To my Dockerfile to make sure the correct one is symlinked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant