Fix OpenSSL installation in Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -112,7 +112,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
|
|
112 |
&& wget https://www.gmssl.cn/gmssl/down/gmssl_openssl_1.1_b2024_x64_1.tar.gz \
|
113 |
&& mkdir -p /usr/local/openresty/openssl \
|
114 |
&& tar xzfm gmssl_openssl_1.1_b2024_x64_1.tar.gz -C /usr/local/ \
|
115 |
-
&& cp /usr/local/gmssl/* /usr/local/openresty/openssl \
|
116 |
&& cd /tmp \
|
117 |
&& curl -fSL https://downloads.sourceforge.net/project/pcre/pcre/${RESTY_PCRE_VERSION}/pcre-${RESTY_PCRE_VERSION}.tar.gz -o pcre-${RESTY_PCRE_VERSION}.tar.gz \
|
118 |
&& echo "${RESTY_PCRE_SHA256} pcre-${RESTY_PCRE_VERSION}.tar.gz" | shasum -a 256 --check \
|
|
|
112 |
&& wget https://www.gmssl.cn/gmssl/down/gmssl_openssl_1.1_b2024_x64_1.tar.gz \
|
113 |
&& mkdir -p /usr/local/openresty/openssl \
|
114 |
&& tar xzfm gmssl_openssl_1.1_b2024_x64_1.tar.gz -C /usr/local/ \
|
115 |
+
&& cp /usr/local/gmssl/* /usr/local/openresty/openssl -r \
|
116 |
&& cd /tmp \
|
117 |
&& curl -fSL https://downloads.sourceforge.net/project/pcre/pcre/${RESTY_PCRE_VERSION}/pcre-${RESTY_PCRE_VERSION}.tar.gz -o pcre-${RESTY_PCRE_VERSION}.tar.gz \
|
118 |
&& echo "${RESTY_PCRE_SHA256} pcre-${RESTY_PCRE_VERSION}.tar.gz" | shasum -a 256 --check \
|