Skip to content

Commit

Permalink
PMM-13137 Fix SHA1 deprecation in EL9 (#3009)
Browse files Browse the repository at this point in the history
* PMM-13137 Fix SHA1 deprecation in EL9

* PMM-12137 bump up go to v1.22.3
  • Loading branch information
ademidoff authored May 31, 2024
1 parent 6ca7cc2 commit 7221d3e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions build/docker/rpmbuild/Dockerfile.el9
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 && \
Expand Down

0 comments on commit 7221d3e

Please sign in to comment.