Fetch the latest Protobuf sources before checking out the release.

The protoc-artifacts may have been created at previous release, which
may not contain the latest Protobuf release.
This commit is contained in:
Kun Zhang 2015-08-12 17:58:32 -07:00
parent 68fe049e35
commit cadc0b2681
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
FROM protoc-artifacts:latest
RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \
git fetch && \
git checkout v3.0.0-alpha-3.1 && \
./autogen.sh && \
CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 && \