diff --git a/regression-tests/build_image/Dockerfile_el9_gcc b/regression-tests/build_image/Dockerfile_el9_gcc index 09e99578..bbfe6d92 100644 --- a/regression-tests/build_image/Dockerfile_el9_gcc +++ b/regression-tests/build_image/Dockerfile_el9_gcc @@ -17,6 +17,7 @@ RUN yum -y install gcc-toolset-12 python3 python3-devel lld python-unversioned-c git clone https://github.com/percona/percona-server-mongodb.git && \ cd percona-server-mongodb/ && \ git checkout $branch && git pull && \ + source /opt/rh/gcc-toolset-12/enable && \ pip3 install --user -r etc/pip/dev-requirements.txt && \ rm -rf /opt/percona-server-mongodb/.git && mkdir -p /data/db RUN source /opt/rh/gcc-toolset-12/enable && \ @@ -43,12 +44,13 @@ ARG psm_ver=7.0.0 ARG psm_release=0 ARG branch=v7.0 WORKDIR /opt -RUN yum -y install python3 python3-devel python-unversioned-command git curl \ +RUN yum -y install gcc-toolset-12 python3 python3-devel python-unversioned-command git curl \ openssl-devel openldap-devel krb5-devel libcurl-devel \ cyrus-sasl-devel bzip2-devel zlib-devel lz4-devel xz-devel e2fsprogs-devel && \ git clone https://github.com/percona/percona-server-mongodb.git && \ cd percona-server-mongodb/ && \ git checkout $branch && git pull && \ + source /opt/rh/gcc-toolset-12/enable && \ pip3 install --user -r etc/pip/dev-requirements.txt && \ rm -rf /opt/percona-server-mongodb/.git && mkdir -p /data/db && mkdir -p /var/lib/mongo && \ useradd -u 1001 -r -g 0 -m -s /sbin/nologin \