diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-08-01 02:21:51 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-08-01 02:21:51 +0200 |
| commit | fbaa9c73773b02e1f3650860b1f55c4306b4f9c5 (patch) | |
| tree | f5b6854172b4e7077eefd98da8dfd56f2149aa7f | |
| parent | 643d63328679ad684eeb1cf7cccf7ccc03ab5b9f (diff) | |
Add OpenSSL-3.3.1
| -rw-r--r-- | OpenSSL/3.3.1-minimal/Dockerfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSSL/3.3.1-minimal/Dockerfile b/OpenSSL/3.3.1-minimal/Dockerfile new file mode 100644 index 0000000..8b1305a --- /dev/null +++ b/OpenSSL/3.3.1-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.3.1 +RUN git clone --depth 1 -b openssl-3.3.1 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.3.1 /opt/spm/openssl-3.3.1 |
