diff --git a/pulsar-client-cpp/docker/alpine/Dockerfile b/pulsar-client-cpp/docker/alpine/Dockerfile index 12d1e2f9f9742..e6bae71bfe25b 100644 --- a/pulsar-client-cpp/docker/alpine/Dockerfile +++ b/pulsar-client-cpp/docker/alpine/Dockerfile @@ -59,12 +59,12 @@ RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_0j.tar.gz rm -rf /OpenSSL_1_1_0j.tar.gz /openssl-OpenSSL_1_1_0j # Download and copile protoubf -RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.11.3/protobuf-cpp-3.11.3.tar.gz && \ - tar xvfz protobuf-cpp-3.11.3.tar.gz && \ - cd protobuf-3.11.3/ && \ +RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.20.0/protobuf-cpp-3.20.0.tar.gz && \ + tar xvfz protobuf-cpp-3.20.0.tar.gz && \ + cd protobuf-3.20.0/ && \ CXXFLAGS=-fPIC ./configure && \ make -j8 && make install && \ - rm -rf /protobuf-cpp-3.11.3.tar.gz /protobuf-3.11.3 + rm -rf /protobuf-cpp-3.20.0.tar.gz /protobuf-3.20.0 # LibCurl RUN curl -O -L https://github.com/curl/curl/releases/download/curl-7_61_0/curl-7.61.0.tar.gz && \ diff --git a/pulsar-client-cpp/docker/alpine/Dockerfile-alpine-3.8 b/pulsar-client-cpp/docker/alpine/Dockerfile-alpine-3.8 index 862785e901566..713e512e9f4d9 100644 --- a/pulsar-client-cpp/docker/alpine/Dockerfile-alpine-3.8 +++ b/pulsar-client-cpp/docker/alpine/Dockerfile-alpine-3.8 @@ -59,12 +59,12 @@ RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_0j.tar.gz rm -rf /OpenSSL_1_1_0j.tar.gz /openssl-OpenSSL_1_1_0j # Download and copile protoubf -RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.11.3/protobuf-cpp-3.11.3.tar.gz && \ - tar xvfz protobuf-cpp-3.11.3.tar.gz && \ - cd protobuf-3.11.3/ && \ +RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.20.0/protobuf-cpp-3.20.0.tar.gz && \ + tar xvfz protobuf-cpp-3.20.0.tar.gz && \ + cd protobuf-3.20.0/ && \ CXXFLAGS=-fPIC ./configure && \ make -j8 && make install && \ - rm -rf /protobuf-cpp-3.11.3.tar.gz /protobuf-3.11.3 + rm -rf /protobuf-cpp-3.20.0.tar.gz /protobuf-3.20.0 # LibCurl RUN curl -O -L https://github.com/curl/curl/releases/download/curl-7_61_0/curl-7.61.0.tar.gz && \ diff --git a/pulsar-client-cpp/docker/centos-7/Dockerfile b/pulsar-client-cpp/docker/centos-7/Dockerfile index 690e8f1f73f94..9497e8d0820cf 100644 --- a/pulsar-client-cpp/docker/centos-7/Dockerfile +++ b/pulsar-client-cpp/docker/centos-7/Dockerfile @@ -25,12 +25,12 @@ RUN yum install -y gcc gcc-c++ make \ libcurl-devel openssl-devel \ boost boost-devel -RUN curl -O -L https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protobuf-cpp-3.17.3.tar.gz && \ - tar xfz protobuf-cpp-3.17.3.tar.gz && \ - cd protobuf-3.17.3/ && \ +RUN curl -O -L https://github.com/protocolbuffers/protobuf/releases/download/v3.20.0/protobuf-cpp-3.20.0.tar.gz && \ + tar xfz protobuf-cpp-3.20.0.tar.gz && \ + cd protobuf-3.20.0/ && \ CXXFLAGS=-fPIC ./configure && \ make -j8 && make install && \ - cd .. && rm -rf protobuf-3.17.3/ protobuf-cpp-3.17.3.tar.gz + cd .. && rm -rf protobuf-3.20.0/ protobuf-cpp-3.20.0.tar.gz RUN mkdir -p /opt/cmake WORKDIR /opt/cmake RUN curl -L -O https://cmake.org/files/v3.4/cmake-3.4.0-Linux-x86_64.tar.gz \ diff --git a/pulsar-client-cpp/docker/manylinux1/Dockerfile b/pulsar-client-cpp/docker/manylinux1/Dockerfile index 502c6f6fe774d..ff499e367936f 100644 --- a/pulsar-client-cpp/docker/manylinux1/Dockerfile +++ b/pulsar-client-cpp/docker/manylinux1/Dockerfile @@ -70,12 +70,12 @@ RUN curl -O -L https://boostorg.jfrog.io/artifactory/main/release/1.68.0/source/ rm -rf /boost_1_68_0.tar.gz /boost_1_68_0 # Download and copile protoubf -RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz && \ - tar xvfz protobuf-cpp-3.3.0.tar.gz && \ - cd protobuf-3.3.0/ && \ +RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.20.0/protobuf-cpp-3.20.0.tar.gz && \ + tar xvfz protobuf-cpp-3.20.0.tar.gz && \ + cd protobuf-3.20.0/ && \ CXXFLAGS=-fPIC ./configure && \ make && make install && ldconfig && \ - rm -rf /protobuf-cpp-3.3.0.tar.gz /protobuf-3.3.0 + rm -rf /protobuf-cpp-3.20.0.tar.gz /protobuf-3.20.0 # Compile APR RUN curl -O -L http://archive.apache.org/dist/apr/apr-1.5.2.tar.gz && \ diff --git a/pulsar-client-cpp/docker/manylinux2014/Dockerfile b/pulsar-client-cpp/docker/manylinux2014/Dockerfile index 5bc1b0315ed61..d0725496ca407 100644 --- a/pulsar-client-cpp/docker/manylinux2014/Dockerfile +++ b/pulsar-client-cpp/docker/manylinux2014/Dockerfile @@ -72,12 +72,12 @@ RUN curl -O -L https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/ rm -rf /boost_1_78_0.tar.gz /boost_1_78_0 # Download and copile protoubf -RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz && \ - tar xvfz protobuf-cpp-3.3.0.tar.gz && \ - cd protobuf-3.3.0/ && \ +RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.20.0/protobuf-cpp-3.20.0.tar.gz && \ + tar xvfz protobuf-cpp-3.20.0.tar.gz && \ + cd protobuf-3.20.0/ && \ CXXFLAGS=-fPIC ./configure && \ make -j8 && make install && ldconfig && \ - rm -rf /protobuf-cpp-3.3.0.tar.gz /protobuf-3.3.0 + rm -rf /protobuf-cpp-3.20.0.tar.gz /protobuf-3.20.0 # Compile expat RUN curl -O -L https://github.com/libexpat/libexpat/archive/R_2_2_0.tar.gz && \ diff --git a/pulsar-client-cpp/pkg/deb/Dockerfile b/pulsar-client-cpp/pkg/deb/Dockerfile index 1925827b56ac4..def8bdb55d066 100644 --- a/pulsar-client-cpp/pkg/deb/Dockerfile +++ b/pulsar-client-cpp/pkg/deb/Dockerfile @@ -41,12 +41,12 @@ RUN curl -O -L https://github.com/Kitware/CMake/archive/v3.8.2.tar.gz && \ rm -rf /v3.8.2.tar.gz /CMake-3.8.2 # Download and copile protoubf -RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz && \ - tar xvfz protobuf-cpp-3.3.0.tar.gz && \ - cd protobuf-3.3.0/ && \ +RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.20.0/protobuf-cpp-3.20.0.tar.gz && \ + tar xvfz protobuf-cpp-3.20.0.tar.gz && \ + cd protobuf-3.20.0/ && \ CXXFLAGS=-fPIC ./configure && \ make && make install && ldconfig && \ - rm -rf /protobuf-cpp-3.3.0.tar.gz /protobuf-3.3.0 + rm -rf /protobuf-cpp-3.20.0.tar.gz /protobuf-3.20.0 # ZLib RUN curl -O -L https://github.com/madler/zlib/archive/v1.2.12.tar.gz && \ diff --git a/pulsar-client-cpp/pkg/rpm/Dockerfile b/pulsar-client-cpp/pkg/rpm/Dockerfile index e83290dccca74..b3cf4323182c4 100644 --- a/pulsar-client-cpp/pkg/rpm/Dockerfile +++ b/pulsar-client-cpp/pkg/rpm/Dockerfile @@ -41,12 +41,12 @@ RUN curl -O -L https://github.com/Kitware/CMake/archive/v3.8.2.tar.gz && \ rm -rf /v3.8.2.tar.gz /CMake-3.8.2 # Download and copile protoubf -RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz && \ - tar xvfz protobuf-cpp-3.3.0.tar.gz && \ - cd protobuf-3.3.0/ && \ +RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.20.0/protobuf-cpp-3.20.0.tar.gz && \ + tar xvfz protobuf-cpp-3.20.0.tar.gz && \ + cd protobuf-3.20.0/ && \ CXXFLAGS=-fPIC ./configure && \ make && make install && ldconfig && \ - rm -rf /protobuf-cpp-3.3.0.tar.gz /protobuf-3.3.0 + rm -rf /protobuf-cpp-3.20.0.tar.gz /protobuf-3.20.0 # ZLib RUN curl -O -L https://github.com/madler/zlib/archive/v1.2.12.tar.gz && \