Add LibreTLS-3.8.1

This commit is contained in:
Xavier Del Campo Romero 2023-12-21 22:30:26 +01:00
parent b9ef0c163b
commit f4aacbc854
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 17 additions and 0 deletions

17
LibreTLS/3.8.1/Dockerfile Normal file
View File

@ -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