Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ RUN ARCH=$(uname -m) && \
mod_auth_openidc && \
dnf clean all && \
rm -rf /var/cache/dnf && \
chmod -R g+w /etc/pki/ca-trust && \
chmod -R g+w /usr/share/pki/ca-trust-legacy
chmod -R a+rw /etc/pki/ca-trust && \
chmod -R a+rw /usr/share/pki/ca-trust-legacy
Comment thread
jrafanie marked this conversation as resolved.

# Fix permissions so that httpd can run in the restricted scc
RUN chgrp root /var/run/httpd && chmod g+rwx /var/run/httpd && \
chgrp root /var/log/httpd && chmod g+rwx /var/log/httpd
Comment thread
jrafanie marked this conversation as resolved.
RUN chmod 777 /var/run/httpd && \
chmod 777 /var/log/httpd

# Remove any existing configs in conf.d and don't try to bind to port 80
RUN rm -f /etc/httpd/conf.d/* && \
Expand All @@ -48,4 +48,7 @@ COPY --from=manifest /tmp/BUILD /opt/manageiq/manifest

EXPOSE 8080

# User: apache
USER 48
Comment thread
jrafanie marked this conversation as resolved.
Comment thread
Fryguy marked this conversation as resolved.

CMD ["/cmd"]
Loading