Commit 0ff6f53d authored by Anant Sharma's avatar Anant Sharma Committed by GitHub
Browse files

fix: update yum install in wheel-builder image (#605)

parent ff30778c
......@@ -141,7 +141,10 @@ ENV CARGO_BUILD_JOBS=${CARGO_BUILD_JOBS:-16}
WORKDIR /workspace
RUN yum install -y protobuf-compiler \
RUN yum update -y \
&& yum install -y protobuf-compiler \
|| yum install -y https://raw.repo.almalinux.org/almalinux/8.10/AppStream/x86_64/os/Packages/protobuf-3.5.0-15.el8.x86_64.rpm \
https://raw.repo.almalinux.org/almalinux/8.10/AppStream/x86_64/os/Packages/protobuf-compiler-3.5.0-15.el8.x86_64.rpm \
&& yum clean all \
&& rm -rf /var/cache/yum
......
......@@ -308,7 +308,10 @@ ENV CARGO_BUILD_JOBS=${CARGO_BUILD_JOBS:-16}
ARG RELEASE_BUILD
WORKDIR /workspace
RUN yum install -y protobuf-compiler \
RUN yum update -y \
&& yum install -y protobuf-compiler \
|| yum install -y https://raw.repo.almalinux.org/almalinux/8.10/AppStream/x86_64/os/Packages/protobuf-3.5.0-15.el8.x86_64.rpm \
https://raw.repo.almalinux.org/almalinux/8.10/AppStream/x86_64/os/Packages/protobuf-compiler-3.5.0-15.el8.x86_64.rpm \
&& yum clean all \
&& rm -rf /var/cache/yum
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment