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

use apache base image #158

Closed
sopitz opened this issue Dec 9, 2015 · 4 comments
Closed

use apache base image #158

sopitz opened this issue Dec 9, 2015 · 4 comments

Comments

@sopitz
Copy link

sopitz commented Dec 9, 2015

Why does this Dockerfile install the whole apache again instead of using the apache2 image (https://github.com/docker-library/httpd/blob/01b9f786daeace767c57c82d7289f4a8490d1035/2.4/Dockerfile) as baseimage?

@yosifkit
Copy link
Member

The httpd image is as close to how upstream recommends as possible, so it is built directly from source. But the php image uses httpd from the Debian apt repos under apache2 because that is the build that most people are used to having (a2enmod, sites-available, etc).

@ghost
Copy link

ghost commented Apr 14, 2016

The httpd image is as close to how upstream recommends as possible, so it is built directly from source. But the php image uses httpd from the Debian apt repos under apache2 because that is the build that most people are used to having (a2enmod, sites-available, etc).

Doesn't this contradict #218 (comment)?

@yosifkit
Copy link
Member

Nope, this image is packaging PHP, not Apache httpd. We can use httpd from Debian repos while still following upstream by compiling PHP from source.

@tianon
Copy link
Member

tianon commented Dec 22, 2017

Closing since this is answered. 👍

@tianon tianon closed this as completed Dec 22, 2017
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

3 participants