-
Notifications
You must be signed in to change notification settings - Fork 123
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
Dockerfile won't build; Fails with PHP Warning #20
Comments
I just poked around the Dockerfile and found that the issue was actually just the pecl installation. The PHP warning made the build hang, then fail after pecl couldn't find any installation candidates. For some reason, commenting out this line fixed it: That's in this previous RUN step: Again, still not sure what's truly going on here, but after commenting that line, the Dockerfile built successfully, albeit with a few non-destructive warnings. My scrollback limited itself so I can't find those specific errors, but I believe 1 or 2 of them had to do with adding similar 'extension=intl.so' lines to the php config. Will report back whether the webserver spins up! |
Ok, the webserver spun up successfully after running the provided docker run command: All seems well with my build now, but I'll leave the issue open for now in case that line I commented out is needed, and/or the initial setup needs to be fixed in the master branch. |
I got the same problem as well today. Removing that line fixed the issue for me too. I'm pretty sure the problem comes from the fact that |
Fixed |
When running the provided docker build command, I get the following error when it gets to the pecl commands:
Step 6/16 : RUN pecl install apcu && pecl install yaml-2.0.4 && docker-php-ext-enable apcu yaml ---> Running in e2bede677c0a PHP Warning: Module 'intl' already loaded in Unknown on line 0
I honestly don't know much about PHP, and as it's all building within a Docker container, there's not much scrounging around my local system I can do. I don't have PHP installed locally, if that helps at all.
Many thanks in advance for the help!
The text was updated successfully, but these errors were encountered: