File tree 3 files changed +6
-0
lines changed 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ ENV LANGUAGE en_US.UTF-8
8
8
9
9
ARG DEVTOOLSET_VERSION=9
10
10
RUN yum install -y wget curl perl util-linux xz bzip2 git patch which unzip
11
+ # Just add everything as a safe.directory for git since these will be used in multiple places with git
12
+ RUN git config --global --add safe.directory '*'
11
13
RUN yum install -y yum-utils centos-release-scl
12
14
RUN yum-config-manager --enable rhel-server-rhscl-7-rpms
13
15
RUN yum install -y devtoolset-${DEVTOOLSET_VERSION}-gcc devtoolset-${DEVTOOLSET_VERSION}-gcc-c++ devtoolset-${DEVTOOLSET_VERSION}-gcc-gfortran devtoolset-${DEVTOOLSET_VERSION}-binutils
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ ENV DEBIAN_FRONTEND=noninteractive
6
6
7
7
RUN apt-get clean && apt-get update
8
8
RUN apt-get install -y curl locales git-all autoconf automake make cmake wget unzip
9
+ # Just add everything as a safe.directory for git since these will be used in multiple places with git
10
+ RUN git config --global --add safe.directory '*'
9
11
10
12
RUN locale-gen en_US.UTF-8
11
13
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ ENV LANGUAGE en_US.UTF-8
11
11
12
12
ARG DEVTOOLSET_VERSION=9
13
13
RUN yum install -y wget curl perl util-linux xz bzip2 git patch which perl zlib-devel
14
+ # Just add everything as a safe.directory for git since these will be used in multiple places with git
15
+ RUN git config --global --add safe.directory '*'
14
16
RUN yum install -y yum-utils centos-release-scl
15
17
RUN yum-config-manager --enable rhel-server-rhscl-7-rpms
16
18
RUN yum install -y devtoolset-${DEVTOOLSET_VERSION}-gcc devtoolset-${DEVTOOLSET_VERSION}-gcc-c++ devtoolset-${DEVTOOLSET_VERSION}-gcc-gfortran devtoolset-${DEVTOOLSET_VERSION}-binutils
You can’t perform that action at this time.
0 commit comments