/usr/sbin/httpd -DFOREGROUND not working in docker container
The apache2 httpd package was installed via apk in docker image version 3.9 and latest.
I’ve been trying to execute /usr/sbin/httpd -DFOREGROUND. Unfortunately this was not working.
So I’ve checked online a little and found on stackoverflow the following solution:
mkdir -p /run/apache2
Here is the link to the stackoverflow discussion. It was the last
comment of the entire discussion:
Maybe this folder can be created by default or as soon as the command is
executed. It would be great because I spend probably 4 to 5 hours to
find out it is this easy to fix.
I can do the commit via pull request myself, just not sure where in the package I should edit. In APKBUILD or preinstall?
Thank you for the help.
(from redmine: issue id 9982, created on 2019-02-14, closed on 2019-03-01)