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

Could you please add some comments to your Dockerfile? :-) #1

Open
louisremi opened this issue Jan 25, 2017 · 4 comments
Open

Could you please add some comments to your Dockerfile? :-) #1

louisremi opened this issue Jan 25, 2017 · 4 comments

Comments

@louisremi
Copy link

Hi,

I'm trying to use your image in combination with visiblevc/wordpress-starter, but so far I did not succeed. It would help me if you added some comments to explain the purpose of the different parts of your Dockerfile (I'm quite new to docker).

Thanks!

@MiLk
Copy link
Owner

MiLk commented Jan 25, 2017

Do you have any particular issue?

The Dockerfiles are pretty straightforward.
They install xdebug and apcu, and then set a bunch of variables.

@louisremi
Copy link
Author

I could have been more specific indeed. What is the purpose of the following directives:

RUN echo "realpath_cache_size=4096k" > /usr/local/etc/php/conf.d/tuning.ini && \
    echo "realpath_cache_ttl=300" >> /usr/local/etc/php/conf.d/tuning.ini
RUN echo "date.timezone = \"UTC\"" >> /usr/local/etc/php/conf.d/timezone.ini`

And I was also wondering why zend_extension was set twice to the same value in two different files, see #2

Thanks for taking the time to answer my noob questions :-)

@MiLk
Copy link
Owner

MiLk commented Jan 25, 2017

I was using Silex, so the cache tuning is probably coming from Symfony recommendations.

As for the timezone, it's not define by default, which cause some warning messages, so I defined UTC as the default.

@louisremi
Copy link
Author

Thanks! I believe those indications could be useful directly in the Dockerfile :-)

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

2 participants