summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2025-01-24 23:32:46 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2025-01-24 23:32:46 +0100
commite7f51b315dbe8fce385018cc4be05de71e964409 (patch)
tree9de720c99f22671a38a34b041cdf47a7efe43931
parent438042a6254da4bc07ba06d3eb9a13825a05608b (diff)
Add OpenSSL-3.4.0
-rw-r--r--OpenSSL/3.4.0-minimal/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSSL/3.4.0-minimal/Dockerfile b/OpenSSL/3.4.0-minimal/Dockerfile
new file mode 100644
index 0000000..fddb9e2
--- /dev/null
+++ b/OpenSSL/3.4.0-minimal/Dockerfile
@@ -0,0 +1,21 @@
+FROM alpine as base
+RUN apk update && apk add \
+ git \
+ make \
+ gcc \
+ musl-dev \
+ linux-headers \
+ perl
+ARG PREFIX=/opt/spm/openssl-3.4.0
+RUN git clone --depth 1 -b openssl-3.4.0 https://github.com/openssl/openssl.git
+WORKDIR /openssl
+RUN ./config -ffunction-sections -fdata-sections \
+ --prefix=$PREFIX --openssldir=$PREFIX \
+ no-shared no-ssl2 no-ssl3 no-comp no-idea no-asm no-dtls no-dtls1 \
+ no-threads -no-nextprotoneg no-psk no-srp no-ec2m \
+ no-weak-ssl-ciphers
+RUN make -j$(nproc --all)
+RUN make test
+RUN make install
+FROM scratch
+COPY --from=base /opt/spm/openssl-3.4.0 /opt/spm/openssl-3.4.0