Comments (4)
Fixed
from docker-grav.
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:
echo 'extension=intl.so'; \
That's in this previous RUN step:
RUN { \ echo 'opcache.memory_consumption=128'; \ echo 'opcache.interned_strings_buffer=8'; \ echo 'opcache.max_accelerated_files=4000'; \ echo 'opcache.revalidate_freq=2'; \ echo 'opcache.fast_shutdown=1'; \ echo 'opcache.enable_cli=1'; \ echo 'upload_max_filesize=128M'; \ echo 'post_max_size=128M'; \ **# echo 'extension=intl.so'; \** } > /usr/local/etc/php/conf.d/php-recommended.ini
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!
from docker-grav.
Ok, the webserver spun up successfully after running the provided docker run command:
docker run -p 8000:80 grav:latest
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.
from docker-grav.
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 intl
is enabled by default in PHP 7.2, 7.3 and 7.4. So this line might be useless now?
from docker-grav.
Related Issues (20)
- build fails because grav-admin is offline HOT 3
- Invalid Signal: SIGWINCH when building the Dockerfile on Windows HOT 3
- Scheduler : crontab configuration is missing HOT 3
- podman build HOT 1
- crash when installing official ldap plugin HOT 4
- Can't set GRAV_VERSION using environment variables
- how to add umask?
- grav-admin-${GRAV_VERSION}.zip is "Not found" HOT 1
- Building causes Forbidden error HOT 1
- Bind html to a directory doesn't work HOT 3
- Need Help/suggestions to add signed certificate HOT 1
- Themes do not work except Quark HOT 5
- apache2: Could not reliably determine the server's fully qualified domain name
- Upgrade Dockerfile from PHP 7.4 to PHP 8.0 HOT 1
- docker: Error response from daemon: pull access denied for getgrav/dockergrav HOT 2
- Git workflow HOT 1
- FAILED to read problem after upgrading HOT 1
- How to stop the running docker image?
- Docker image with pre-built PHP HOT 2
- Container does not stop gracefully
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-grav.