-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopenssl-1.1.1.dockerfile
More file actions
36 lines (28 loc) · 871 Bytes
/
Copy pathopenssl-1.1.1.dockerfile
File metadata and controls
36 lines (28 loc) · 871 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/openssl
RUN apk add --no-cache \
bash \
g++ \
gcc \
libc-dev \
linux-headers \
make \
perl \
pkgconf
ADD https://www.openssl.org/source/old/1.1.1/openssl-1.1.1w.tar.gz openssl-src.tar.gz
RUN tar \
--extract \
--file openssl-src.tar.gz \
--strip 1 \
&& ./config \
--openssldir=/srv/openssl \
--prefix=/build/openssl \
-static \
no-tests \
&& make -j \
&& make install_sw
WORKDIR /build/openssl
RUN rm -rf /tmp/openssl
ENV PKG_CONFIG_PATH=/build/openssl/lib/pkgconfig/:/build/openssl/lib64/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."