Skip to content

Commit

Permalink
add changes for 1.22 to Dockerfile.rhel9
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubatrh authored and zmiklank committed Aug 4, 2023
1 parent f16b756 commit e207b94
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 1.22/Dockerfile.rhel9
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ EXPOSE 8080
EXPOSE 8443

ENV NAME=nginx \
NGINX_VERSION=1.20 \
NGINX_SHORT_VER=120 \
NGINX_VERSION=1.22 \
NGINX_SHORT_VER=122 \
VERSION=0

ENV SUMMARY="Platform for running nginx $NGINX_VERSION or building nginx-based application" \
Expand Down Expand Up @@ -38,7 +38,8 @@ ENV NGINX_CONFIGURATION_PATH=${APP_ROOT}/etc/nginx.d \
NGINX_LOG_PATH=/var/log/nginx \
NGINX_PERL_MODULE_PATH=${APP_ROOT}/etc/perl

RUN INSTALL_PKGS="nss_wrapper bind-utils gettext hostname nginx nginx-mod-stream nginx-mod-http-perl" && \
RUN yum -y module enable nginx:$NGINX_VERSION && \
INSTALL_PKGS="nss_wrapper bind-utils gettext hostname nginx nginx-mod-stream nginx-mod-http-perl" && \
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
nginx -v 2>&1 | grep -qe "nginx/$NGINX_VERSION\." && echo "Found VERSION $NGINX_VERSION" && \
Expand Down

0 comments on commit e207b94

Please sign in to comment.