aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2017-06-26 10:48:22 -0700
committerGitHub <noreply@github.com>2017-06-26 10:48:22 -0700
commit097bfb53d1a9e448751d1241693935c3dad3c0bd (patch)
tree746b7c0d4078a6b2b33f567dc2f44ba37a2ffa52
parentdd7265e1a2cf78fd0333f62d8e74d40a0781f83b (diff)
parent82e50ba5c311f26786bb1dffa64c3e9ff6e957d7 (diff)
downloadprotobuf-097bfb53d1a9e448751d1241693935c3dad3c0bd.tar.gz
protobuf-097bfb53d1a9e448751d1241693935c3dad3c0bd.tar.bz2
protobuf-097bfb53d1a9e448751d1241693935c3dad3c0bd.zip
Merge pull request #3084 from lukaszx0/patch-1
Workaround the docker bug when compiling artifacts
-rw-r--r--protoc-artifacts/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/protoc-artifacts/Dockerfile b/protoc-artifacts/Dockerfile
index 5143b028..36b547a2 100644
--- a/protoc-artifacts/Dockerfile
+++ b/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