Skip to content

Commit 974b18f

Browse files
authored
manywheel: Upgrade git for use with GHA (#622)
GHA requires a newer version of git to be installed in order to be able to use the "submodule" functionality from "actions/checkout" Signed-off-by: Eli Uriegas <[email protected]>
1 parent d05fac7 commit 974b18f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

manywheel/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ RUN yum install -y \
9393
wget \
9494
which \
9595
xz \
96-
yasm \
96+
yasm
97+
RUN yum install -y \
98+
https://repo.ius.io/ius-release-el7.rpm \
99+
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
100+
RUN yum swap -y git git224-core
97101

98102
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
99103
COPY --from=python /opt/python /opt/python
@@ -117,10 +121,6 @@ RUN yum install -y devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-gcc-gfortr
117121
ENV PATH=/opt/rh/devtoolset-7/root/usr/bin:$PATH
118122
ENV LD_LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib64:/opt/rh/devtoolset-7/root/usr/lib:$LD_LIBRARY_PATH
119123

120-
RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
121-
rpm -ivh epel-release-latest-7.noarch.rpm && \
122-
rm -f epel-release-latest-7.noarch.rpm
123-
124124
# cmake
125125
RUN yum install -y cmake3 && \
126126
ln -s /usr/bin/cmake3 /usr/bin/cmake

0 commit comments

Comments
 (0)