Explorar o código

Merge pull request #3084 from lukaszx0/patch-1

Workaround the docker bug when compiling artifacts
Feng Xiao %!s(int64=8) %!d(string=hai) anos
pai
achega
097bfb53d1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      protoc-artifacts/Dockerfile

+ 1 - 1
protoc-artifacts/Dockerfile

@@ -30,7 +30,7 @@ RUN wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo -P /etc/yum
 RUN bash -c 'echo "enabled=1" >> /etc/yum.repos.d/devtools-1.1.repo'
 RUN bash -c "sed -e 's/\$basearch/i386/g' /etc/yum.repos.d/devtools-1.1.repo > /etc/yum.repos.d/devtools-i386-1.1.repo"
 RUN sed -e 's/testing-/testing-i386-/g' -i /etc/yum.repos.d/devtools-i386-1.1.repo
-RUN yum install -y devtoolset-1.1 \
+RUN rpm --rebuilddb && yum install -y devtoolset-1.1 \
                    devtoolset-1.1-libstdc++-devel \
                    devtoolset-1.1-libstdc++-devel.i686