-
-
Notifications
You must be signed in to change notification settings - Fork 340
Fix docker doctor fix pkgroot volume overwrite bug #882
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
Conversation
|
Why does it not work with a mount? Why mount the directory at all then? |
If someone running But the image build procedure This PR will fix the required packages to be installed inside image to avoid mounting overwrite. Although we can solve it by not mounting pkgroot, I think this is inconsistent with the buildroot and other directories.
pkgroot is not part of docker, it is the same as buildroot and should be visible and modifiable in the host. pkg-config and upx are exceptions. |
|
I understand the problem now, but I think the right way to combat it is to have the mount available for bin/spc doctor. The current solution is very confusing. |
|
Indeed. I just noticed that the go-xcaddy will also have this issue. Mounting when building seems to be appropriate. |
|
Seems |
|
I think splitting different OS and arch for |
|
That's a good idea because it would also mean that packages themselves would no longer need arch and os in their folder. |
|
Looks good to me now. |
What does this PR do?
Fix #881
Checklist before merging
*.phpor*.json, run them locally to ensure your changes are valid:composer cs-fixcomposer analysecomposer testbin/spc dev:sort-configsrc/globals/test-extensions.php.extension testortest extensionsto trigger full test suite.