Skip to content

Commit c896ed7

Browse files
committed
s2i-core and s2i-base images are available also
from unauthenication registries. Certificates are not need at all in Dockerfile. Remove them See JIRA: https://issues.redhat.com/browse/ENGCMP-5283 Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent b1f541c commit c896ed7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

8.3/Dockerfile.rhel10

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ ARG INSTALL_EXTS="php-json php-mysqli php-pgsql php-bcmath \
4747
php-process php-soap php-opcache php-xml \
4848
php-gmp php-apcu php-zip php-redis"
4949

50-
# This needs to be added for downloading packages
51-
RUN curl -fL -o /etc/pki/ca-trust/source/anchors/2022-IT-Root-CA.pem https://certs.corp.redhat.com/certs/2022-IT-Root-CA.pem
52-
RUN update-ca-trust extract
53-
5450
RUN dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS $INSTALL_EXTS && \
5551
dnf reinstall -y tzdata && \
5652
rpm -V $INSTALL_PKGS && \
@@ -60,10 +56,6 @@ RUN dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS $INSTALL_EXTS && \
6056
echo "Found requested extensions" && \
6157
dnf -y clean all --enablerepo='*'
6258

63-
# Remove the certs
64-
RUN rm /etc/pki/ca-trust/source/anchors/2022-IT-Root-CA.pem
65-
RUN update-ca-trust
66-
6759
ENV PHP_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/php/ \
6860
APP_DATA=${APP_ROOT}/src \
6961
PHP_DEFAULT_INCLUDE_PATH=/usr/share/pear \

0 commit comments

Comments
 (0)