We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a807792 commit c7f4a1bCopy full SHA for c7f4a1b
nightly-main/centos/7/Dockerfile
@@ -2,6 +2,7 @@ FROM centos:7
2
LABEL maintainer="Swift Infrastructure <[email protected]>"
3
LABEL description="Docker Container for the Swift programming language"
4
5
+# centos 7 ships with git 1.x which is too old for the toolchain usage, using RH software collections to install git 2.x
6
RUN yum install -y centos-release-scl-rh
7
8
RUN yum install shadow-utils.x86_64 -y \
@@ -22,6 +23,7 @@ RUN yum install shadow-utils.x86_64 -y \
22
23
sqlite \
24
zlib-devel
25
26
+# centos 7 ships with git 1.x which is too old for the toolchain usage
27
RUN ln -s /opt/rh/rh-git227/root/bin/git /usr/bin/git
28
29
RUN sed -i -e 's/\*__block/\*__libc_block/g' /usr/include/unistd.h
0 commit comments