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

Commit

Permalink
Merge pull request #1 from k-wall/dont-assume-root
Browse files Browse the repository at this point in the history
Don't assume root to avoid an SCC issue
  • Loading branch information
k-wall authored Mar 30, 2020
2 parents 99d71fd + 51682cf commit 8482ee1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ ENV VERSION=${version} COMMIT=${commit} MAVEN_VERSION=${maven_version}

COPY cfg/httpd.conf /etc/httpd/conf

EXPOSE 443
EXPOSE 8443


RUN chmod -R a+rwx /var/run/httpd
USER 1001

ENTRYPOINT apachectl -DFOREGROUND

2 changes: 1 addition & 1 deletion cfg/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

ServerRoot "/etc/httpd"

Listen 443
Listen 8443

Include conf.modules.d/*.conf

Expand Down

0 comments on commit 8482ee1

Please sign in to comment.