Skip to content

Commit

Permalink
Merge pull request #110 from joepvd/no-module-for-rhel9
Browse files Browse the repository at this point in the history
OCPBUGS-31111: Disable nginx module for rhel9
  • Loading branch information
openshift-merge-bot[bot] committed Mar 27, 2024
2 parents 6afdd5b + e9caf64 commit a0e1bb4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile.art
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ RUN test -d ${REMOTE_SOURCES_DIR}/cachito-gomod-with-deps || exit 1; \

FROM registry.ci.openshift.org/ocp/4.16:base-rhel9

ENV NGINX_VERSION=1.20
RUN yum -y module enable nginx:$NGINX_VERSION && \
INSTALL_PKGS="nginx" && \
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
RUN INSTALL_PKGS="nginx" && \
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
yum -y clean all --enablerepo='*' && \
chown -R 1001:0 /var/lib/nginx /var/log/nginx /run && \
Expand Down

0 comments on commit a0e1bb4

Please sign in to comment.