diff --git a/build/docker/rpmbuild/Dockerfile.el9 b/build/docker/rpmbuild/Dockerfile.el9 index 01ef74f1a5..aaee21b90a 100644 --- a/build/docker/rpmbuild/Dockerfile.el9 +++ b/build/docker/rpmbuild/Dockerfile.el9 @@ -6,9 +6,14 @@ RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash - RUN curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo RUN yum update -y && \ + yum install -y crypto-policies-scripts && \ + update-crypto-policies --set DEFAULT:SHA1 && \ yum install -y --setopt=skip_missing_names_on_install=False \ - gcc gcc-c++ \ nodejs \ + yarn && \ + yum remove -y nodesource-release-el9-1.noarch + +RUN yum install -y gcc gcc-c++ \ libtool libtool-ltdl \ make cmake \ git \ @@ -18,14 +23,12 @@ RUN yum update -y && \ rpmdevtools createrepo_c epel-release \ bison yum-utils rpm-build \ rsync \ - wget \ - yarn && \ + wget && \ yum install -y --enablerepo=ol9_codeready_builder glibc-static && \ - yum remove -y nodesource-release-el9-1.noarch && \ yum clean all && rm -rf /var/cache/yum # keep that format for easier search -ENV GO_VERSION 1.22.2 +ENV GO_VERSION 1.22.3 ENV GO_RELEASER_VERSION 1.24.0 RUN if [ `uname -i` == "x86_64" ]; then ARCH=amd64; else ARCH=arm64; fi && \