-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibressl-4.3.dockerfile
More file actions
36 lines (28 loc) · 908 Bytes
/
libressl-4.3.dockerfile
File metadata and controls
36 lines (28 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM alpine
WORKDIR /tmp/libressl
RUN apk add --no-cache \
bash \
g++ \
gcc \
libc-dev \
linux-headers \
make \
perl \
pkgconf
ADD https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.3.1.tar.gz libressl-src.tar.gz
RUN tar \
--extract \
--file libressl-src.tar.gz \
--strip 1 \
&& ./configure \
--disable-shared \
--disable-tests \
--with-openssldir=/srv/libressl \
--prefix=/build/libressl \
&& make -j \
&& make install_sw
WORKDIR /build/libressl
RUN rm -rf /tmp/libressl
ENV PKG_CONFIG_PATH=/build/libressl/lib64/pkgconfig/:/build/libressl/lib/pkgconfig/
LABEL org.opencontainers.image.source=https://github.com/woodruffw/openssl-dockerfiles
LABEL org.opencontainers.image.description="Dockerfiles for some versions of OpenSSL. Not suitable for production use."