Skip to content

Commit

Permalink
Couple small updates in C10S
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Aug 13, 2024
1 parent b216cf4 commit 379b278
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions 2.4/Dockerfile.c10s
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ FROM quay.io/sclorg/s2i-core-c10s:c10s

ENV HTTPD_VERSION=2.4 \
HTTPD_SHORT_VERSION=24 \
NAME=httpd
NAME=httpd \
ARCH=x86_64

ENV SUMMARY="Platform for running Apache httpd $HTTPD_VERSION or building httpd-based application" \
DESCRIPTION="Apache httpd $HTTPD_VERSION available as container, is a powerful, efficient, \
Expand All @@ -36,10 +37,10 @@ EXPOSE 8080
EXPOSE 8443

RUN INSTALL_PKGS="gettext hostname nss_wrapper bind-utils httpd mod_ssl mod_ldap mod_session sscg" && \
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
httpd -v | grep -qe "Apache/$HTTPD_VERSION" && echo "Found VERSION $HTTPD_VERSION" && \
yum -y clean all --enablerepo='*'
dnf -y clean all --enablerepo='*'

ENV HTTPD_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/httpd/ \
HTTPD_APP_ROOT=${APP_ROOT} \
Expand Down
2 changes: 1 addition & 1 deletion 2.4/Dockerfile.rhel9
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM ubi9/s2i-core:1

ENV HTTPD_VERSION=2.4 \
HTTPD_SHORT_VERSION=24 \
NAME
NAME=httpd

ENV SUMMARY="Platform for running Apache httpd $HTTPD_VERSION or building httpd-based application" \
DESCRIPTION="Apache httpd $HTTPD_VERSION available as container, is a powerful, efficient, \
Expand Down

0 comments on commit 379b278

Please sign in to comment.