Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 8482ee1

Browse files
authored
Merge pull request #1 from k-wall/dont-assume-root
Don't assume root to avoid an SCC issue
2 parents 99d71fd + 51682cf commit 8482ee1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ ENV VERSION=${version} COMMIT=${commit} MAVEN_VERSION=${maven_version}
99

1010
COPY cfg/httpd.conf /etc/httpd/conf
1111

12-
EXPOSE 443
12+
EXPOSE 8443
13+
14+
15+
RUN chmod -R a+rwx /var/run/httpd
16+
USER 1001
1317

1418
ENTRYPOINT apachectl -DFOREGROUND
1519

cfg/httpd.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
ServerRoot "/etc/httpd"
77

8-
Listen 443
8+
Listen 8443
99

1010
Include conf.modules.d/*.conf
1111

0 commit comments

Comments
 (0)