Giter Club home page Giter Club logo

Comments (4)

rhukster avatar rhukster commented on August 18, 2024 1

Fixed

from docker-grav.

mitchnemirov avatar mitchnemirov commented on August 18, 2024

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.

mitchnemirov avatar mitchnemirov commented on August 18, 2024

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.

fbnlsr avatar fbnlsr commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.