
images.openssl.Dockerfile-1_0_2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tls-docker-library Show documentation
Show all versions of tls-docker-library Show documentation
Bill of Materials POM for the entire protocol attacker ecosystem used to keep dependencies in sync.
The newest version!
FROM alpine-build:3.12 as openssl-base1
RUN wget https://www.openssl.org/source/old/1.0.2/openssl-1.0.2.tar.gz
RUN tar -xzf openssl-1.0.2.tar.gz
WORKDIR /src/openssl-1.0.2
COPY openssl-004-musl-termios.patch ./
RUN patch crypto/ui/ui_openssl.c < openssl-004-musl-termios.patch
RUN ./config --prefix=/build/ --openssldir=/build/ no-async
RUN make && make test && make install
# copy all libs we need
RUN mkdir /libdeps
RUN cp $(LD_LIBRARY_PATH="/build/lib/" ldd /build/bin/openssl | awk '$3=="" {print $1}; $3!="" {print $3}') /libdeps/
FROM entrypoint as openssl-base2
COPY --from=openssl-base1 /build/ /artifacts/ssllib/
COPY --from=openssl-base1 /libdeps/* /artifacts/ssllib/libdeps/
COPY --from=openssl-base1 /libdeps/* /lib/
COPY --from=openssl-base1 /build/bin/openssl /bin/
FROM openssl-base2 as openssl-server
LABEL "tls_implementation"="openssl"
LABEL "tls_implementation_version"="1.0.2"
LABEL "tls_implementation_connectionRole"="server"
ENTRYPOINT ["server-entrypoint", "openssl", "s_server"]
FROM openssl-base2 as openssl-client
LABEL "tls_implementation"="openssl"
LABEL "tls_implementation_version"="1.0.2"
LABEL "tls_implementation_connectionRole"="client"
ENTRYPOINT ["client-entrypoint", "openssl", "s_client"]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy