summaryrefslogtreecommitdiff
path: root/OpenSSL/3.1.1-minimal/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSSL/3.1.1-minimal/Dockerfile')
-rw-r--r--OpenSSL/3.1.1-minimal/Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSSL/3.1.1-minimal/Dockerfile b/OpenSSL/3.1.1-minimal/Dockerfile
new file mode 100644
index 0000000..1cae3bc
--- /dev/null
+++ b/OpenSSL/3.1.1-minimal/Dockerfile
@@ -0,0 +1,19 @@
+FROM alpine
+RUN apk update && apk add \
+ git \
+ make \
+ gcc \
+ musl-dev \
+ linux-headers \
+ perl
+ARG PREFIX=/install/openssl-3.1.1
+RUN git clone --depth 1 -b openssl-3.1.1 git://git.openssl.org/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