From f4aacbc854765d87d4313c9109d375a422eeea94 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Thu, 21 Dec 2023 22:30:26 +0100 Subject: Add LibreTLS-3.8.1 --- LibreTLS/3.8.1/Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 LibreTLS/3.8.1/Dockerfile diff --git a/LibreTLS/3.8.1/Dockerfile b/LibreTLS/3.8.1/Dockerfile new file mode 100644 index 0000000..1c713b5 --- /dev/null +++ b/LibreTLS/3.8.1/Dockerfile @@ -0,0 +1,17 @@ +FROM alpine +RUN apk update && apk add \ + make \ + gcc \ + musl-dev \ + wget +COPY --from=libopenssl:3.1.1-minimal /opt/spm/openssl-3.1.1/ /usr/local/ +RUN wget https://causal.agency/libretls/libretls-3.8.1.tar.gz +RUN tar -xf libretls-3.8.1.tar.gz +WORKDIR /libretls-3.8.1 +ARG PREFIX=/opt/spm/libretls-3.8.1 +RUN ./configure \ + --prefix=$PREFIX \ + --enable-shared=no \ + CFLAGS='-ffunction-sections -fdata-sections -Os' +RUN make -j$(nproc --all) +RUN make install -- cgit v1.2.3