Skip to content

Commit 60ea64a

Browse files
committed
feat(config): move apache2 configuration from runtime to build time
This commit is the first of a PR that will aim at dropping requirement to run containers with root permissions. This commit leverages PassEnv rather than sed & dynamic environment substitution in the config files.
1 parent c9666b8 commit 60ea64a

File tree

4 files changed

+792
-29
lines changed

4 files changed

+792
-29
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ RUN apk --no-cache --update \
3838
&& mkdir /htdocs
3939

4040
COPY linkstack /htdocs
41+
COPY configs/apache2/httpd.conf /etc/apache2/httpd.conf
42+
COPY configs/apache2/ssl.conf /etc/apache2/conf.d/ssl.conf
43+
4144
RUN chown -R apache:apache /htdocs
4245
RUN find /htdocs -type d -print0 | xargs -0 chmod 0755
4346
RUN find /htdocs -type f -print0 | xargs -0 chmod 0644

0 commit comments

Comments
 (0)