|
@@ -2,7 +2,7 @@ FROM ubuntu:latest as smartdns-builder
|
|
|
LABEL previous-stage=smartdns-builder
|
|
|
|
|
|
# prepare builder
|
|
|
-ARG OPENSSL_VER=3.0.10
|
|
|
+ARG OPENSSL_VER=3.0.16
|
|
|
RUN apt update && \
|
|
|
apt install -y binutils perl curl make musl-tools musl-dev && \
|
|
|
ln -s /usr/include/linux /usr/include/$(uname -m)-linux-musl && \
|
|
@@ -11,7 +11,7 @@ RUN apt update && \
|
|
|
\
|
|
|
mkdir -p /build/openssl && \
|
|
|
cd /build/openssl && \
|
|
|
- curl -sSL http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_${OPENSSL_VER}.orig.tar.gz | tar --strip-components=1 -zxv && \
|
|
|
+ curl -sSL https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VER}/openssl-${OPENSSL_VER}.tar.gz | tar --strip-components=1 -zxv && \
|
|
|
\
|
|
|
export CC=musl-gcc && \
|
|
|
if [ "$(uname -m)" = "aarch64" ]; then \
|