Skip to content

Commit

Permalink
update nginx version in 1.24 dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
zmiklank committed Jul 14, 2023
1 parent e9d59d4 commit 6ae5d25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 1.24/Dockerfile.c9s
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.22 \
NGINX_SHORT_VER=122 \
NGINX_VERSION=1.24 \
NGINX_SHORT_VER=124 \
VERSION=0

ENV SUMMARY="Platform for running nginx $NGINX_VERSION or building nginx-based application" \
Expand Down
8 changes: 4 additions & 4 deletions 1.24/Dockerfile.rhel8
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.22 \
NGINX_SHORT_VER=122 \
NGINX_VERSION=1.24 \
NGINX_SHORT_VER=124 \
VERSION=0

ENV SUMMARY="Platform for running nginx $NGINX_VERSION or building nginx-based application" \
Expand Down Expand Up @@ -46,10 +46,10 @@ RUN yum -y module enable nginx:$NGINX_VERSION && \
yum -y clean all --enablerepo='*'

# Copy the S2I scripts from the specific language image to $STI_SCRIPTS_PATH
COPY 1.22/s2i/bin/ $STI_SCRIPTS_PATH
COPY 1.24/s2i/bin/ $STI_SCRIPTS_PATH

# Copy extra files to the image.
COPY 1.22/root/ /
COPY 1.24/root/ /

# Changing ownership and user rights to support following use-cases:
# 1) running container on OpenShift, whose default security model
Expand Down

0 comments on commit 6ae5d25

Please sign in to comment.