Skip to content

Commit

Permalink
fix(ci): use vault repos for yum on centos7 (#2053)
Browse files Browse the repository at this point in the history
  • Loading branch information
gribnoysup authored Jul 4, 2024
1 parent 427f629 commit 68a8841
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/docker/centos7-epel-rpm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FROM centos:7
ARG artifact_url=""
ADD ${artifact_url} /tmp
ADD node_modules /usr/share/mongodb-crypt-library-version/node_modules
# centos7 is eol, switch to vault repos
RUN yum-config-manager --disable base extras updates
RUN yum-config-manager --enable C7.8.2003-base C7.8.2003-extras C7.8.2003-updates
RUN yum repolist
# epel-release so that openssl11 is installable
RUN yum install -y epel-release
Expand Down
3 changes: 3 additions & 0 deletions scripts/docker/centos7-rpm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FROM centos:7
ARG artifact_url=""
ADD ${artifact_url} /tmp
ADD node_modules /usr/share/mongodb-crypt-library-version/node_modules
# centos7 is eol, switch to vault repos
RUN yum-config-manager --disable base extras updates
RUN yum-config-manager --enable C7.8.2003-base C7.8.2003-extras C7.8.2003-updates
RUN yum repolist
RUN yum install -y /tmp/*mongosh*.rpm
RUN /usr/bin/mongosh --build-info
Expand Down

0 comments on commit 68a8841

Please sign in to comment.