-
Notifications
You must be signed in to change notification settings - Fork 4
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
added php7.2 and php 7.3 #9
base: master
Are you sure you want to change the base?
Conversation
ADD added /root/.composer/vendor/bin to PATH MOD PEAR: phing package depcrecated install via composer MOD sed command failed. MOD nginx-site.conf moved to /etc/nginx/conf.d/ instead of /etc/nginx/sites-enabled/default DEL removed mcrypt for php7.2 and php7.3 deprecated
@@ -125,13 +145,13 @@ for version in "${versions[@]}"; do | |||
&& ln -sf /dev/stderr /var/log/nginx/error.log | |||
|
|||
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf | |||
COPY nginx-site.conf /etc/nginx/sites-enabled/default | |||
COPY nginx-site.conf /etc/nginx/conf.d/default.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please leave /etc/nginx/sites-enabled/default
- images using this base image rely on sites-enabled/default
and remove conf.d/default.conf
... having sites-enabled/
is also the Ubuntu default for nginx.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i've looked into it: the nginx version which is used here, does not have a sites-enabled directory.
based on this post What is the different usages for sites-available vs the conf.d directory for nginx, i think the current approch is good.
if you insist in having a sites-enabled directory, we have to sed
the nginx.conf which will probably fail in future (if it gets modified)
ADD added
/root/.composer/vendor/bin
to PATHMOD PEAR:
phing
package deprecated install via composerMOD
sed
command failed.MOD
nginx-site.conf
moved to/etc/nginx/conf.d/
instead of/etc/nginx/sites-enabled/default
DEL removed
mcrypt
for php7.2 and php7.3 deprecated