Skip to content

Commit 06bac43

Browse files
authored
[improve][cpp] Upgrade OpenSSL to version 1.1.1n (apache#17538)
1 parent 1395482 commit 06bac43

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

pulsar-client-cpp/docker/alpine/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ RUN curl -O -L https://zlib.net/zlib-1.2.12.tar.gz && \
5151
rm -rf /zlib-1.2.12.tar.gz /zlib-1.2.12
5252

5353
# Compile OpenSSL
54-
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_0j.tar.gz && \
55-
tar xfz OpenSSL_1_1_0j.tar.gz && \
56-
cd openssl-OpenSSL_1_1_0j/ && \
54+
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_1n.tar.gz && \
55+
tar xfz OpenSSL_1_1_1n.tar.gz && \
56+
cd openssl-OpenSSL_1_1_1n/ && \
5757
./Configure -fPIC no-shared linux-x86_64 && \
5858
make -j8 && make install && \
59-
rm -rf /OpenSSL_1_1_0j.tar.gz /openssl-OpenSSL_1_1_0j
59+
rm -rf /OpenSSL_1_1_1n.tar.gz /openssl-OpenSSL_1_1_1n
6060

6161
# Download and copile protoubf
6262
RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.20.0/protobuf-cpp-3.20.0.tar.gz && \

pulsar-client-cpp/docker/alpine/Dockerfile-alpine-3.8

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ RUN curl -O -L https://zlib.net/zlib-1.2.12.tar.gz && \
5151
rm -rf /zlib-1.2.12.tar.gz /zlib-1.2.12
5252

5353
# Compile OpenSSL
54-
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_0j.tar.gz && \
55-
tar xfz OpenSSL_1_1_0j.tar.gz && \
56-
cd openssl-OpenSSL_1_1_0j/ && \
54+
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_1n.tar.gz && \
55+
tar xfz OpenSSL_1_1_1n.tar.gz && \
56+
cd openssl-OpenSSL_1_1_1n/ && \
5757
./Configure -fPIC no-shared linux-x86_64 && \
5858
make -j8 && make install && \
59-
rm -rf /OpenSSL_1_1_0j.tar.gz /openssl-OpenSSL_1_1_0j
59+
rm -rf /OpenSSL_1_1_1n.tar.gz /openssl-OpenSSL_1_1_1n
6060

6161
# Download and copile protoubf
6262
RUN curl -O -L https://github.com/google/protobuf/releases/download/v3.20.0/protobuf-cpp-3.20.0.tar.gz && \

pulsar-client-cpp/docker/manylinux1/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ RUN curl -O -L https://zlib.net/zlib-1.2.12.tar.gz && \
5555
rm -rf /zlib-1.2.12.tar.gz /zlib-1.2.12
5656

5757
# Compile OpenSSL
58-
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_0j.tar.gz && \
59-
tar xvfz OpenSSL_1_1_0j.tar.gz && \
60-
cd openssl-OpenSSL_1_1_0j/ && \
58+
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_1n.tar.gz && \
59+
tar xvfz OpenSSL_1_1_1n.tar.gz && \
60+
cd openssl-OpenSSL_1_1_1n/ && \
6161
./Configure -fPIC --prefix=/usr/local/ssl/ no-shared linux-x86_64 && \
6262
make && make install && \
63-
rm -rf /OpenSSL_1_1_0j.tar.gz /openssl-OpenSSL_1_1_0j
63+
rm -rf /OpenSSL_1_1_1n.tar.gz /openssl-OpenSSL_1_1_1n
6464

6565
# Download and compile boost
6666
RUN curl -O -L https://boostorg.jfrog.io/artifactory/main/release/1.68.0/source/boost_1_68_0.tar.gz && \

pulsar-client-cpp/pkg/deb/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ RUN curl -O -L https://github.com/google/snappy/releases/download/1.1.3/snappy-1
7171
make && make install && \
7272
rm -rf /snappy-1.1.3 /snappy-1.1.3.tar.gz
7373

74-
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_0j.tar.gz && \
75-
tar xfz OpenSSL_1_1_0j.tar.gz && \
76-
cd openssl-OpenSSL_1_1_0j/ && \
74+
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_1n.tar.gz && \
75+
tar xfz OpenSSL_1_1_1n.tar.gz && \
76+
cd openssl-OpenSSL_1_1_1n/ && \
7777
./Configure -fPIC --prefix=/usr/local/ssl/ linux-x86_64 && \
7878
make -j8 && make install && \
79-
rm -rf /OpenSSL_1_1_0j.tar.gz /openssl-OpenSSL_1_1_0j
79+
rm -rf /OpenSSL_1_1_1n.tar.gz /openssl-OpenSSL_1_1_1n
8080

8181
# LibCurl
8282
RUN curl -O -L https://github.com/curl/curl/releases/download/curl-7_61_0/curl-7.61.0.tar.gz && \

pulsar-client-cpp/pkg/rpm/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ RUN curl -O -L https://github.com/google/snappy/releases/download/1.1.3/snappy-1
7272
make && make install && \
7373
rm -rf /snappy-1.1.3 /snappy-1.1.3.tar.gz
7474

75-
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_0j.tar.gz && \
76-
tar xfz OpenSSL_1_1_0j.tar.gz && \
77-
cd openssl-OpenSSL_1_1_0j/ && \
75+
RUN curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_1n.tar.gz && \
76+
tar xfz OpenSSL_1_1_1n.tar.gz && \
77+
cd openssl-OpenSSL_1_1_1n/ && \
7878
./Configure -fPIC --prefix=/usr/local/ssl/ linux-x86_64 && \
7979
make -j8 && make install && \
80-
rm -rf /OpenSSL_1_1_0j.tar.gz /openssl-OpenSSL_1_1_0j
80+
rm -rf /OpenSSL_1_1_1n.tar.gz /openssl-OpenSSL_1_1_1n
8181

8282
# LibCurl
8383
RUN curl -O -L https://github.com/curl/curl/releases/download/curl-7_61_0/curl-7.61.0.tar.gz && \

0 commit comments

Comments
 (0)