mirror of
https://github.com/Icinga/docker-icingaweb2.git
synced 2025-10-26 05:20:58 +01:00
Merge pull request #32 from Icinga/bugfix/umask-077-permissions
Allow building the container from a checkout created with umask 077
This commit is contained in:
commit
e174771672
@ -24,6 +24,7 @@ RUN ["perl", "-pi", "-e", "if (/Listen/) { s/80/8080/ }", "/etc/apache2/ports.co
|
|||||||
RUN ["perl", "-pi", "-e", "if (/VirtualHost/) { s/80/8080/ }", "/etc/apache2/sites-available/000-default.conf"]
|
RUN ["perl", "-pi", "-e", "if (/VirtualHost/) { s/80/8080/ }", "/etc/apache2/sites-available/000-default.conf"]
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
RUN ["chmod", "-R", "u=rwX,go=rX", "/entrypoint-db-init"]
|
||||||
RUN ["chmod", "o+x", "/var/log/apache2"]
|
RUN ["chmod", "o+x", "/var/log/apache2"]
|
||||||
RUN ["chown", "www-data:www-data", "/var/run/apache2"]
|
RUN ["chown", "www-data:www-data", "/var/run/apache2"]
|
||||||
RUN ["ln", "-vs", "/data/etc/icingaweb2", "/etc/icingaweb2"]
|
RUN ["ln", "-vs", "/data/etc/icingaweb2", "/etc/icingaweb2"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user