All Downloads are FREE. Search and download functionalities are using the official Maven repository.

images.boringssl.Dockerfile-x Maven / Gradle / Ivy

Go to download

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 boringssl-base1
ARG VERSION
RUN git clone --depth=1 -b ${VERSION} https://github.com/google/boringssl.git
WORKDIR /build/
RUN cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 /src/boringssl/ &&\
  make
# copy all libs we need
RUN mkdir /libdeps
RUN cp $(LD_LIBRARY_PATH="/build/lib/" ldd /build/tool/bssl | awk '$3=="" {print $1}; $3!="" {print $3}') /libdeps/


FROM entrypoint as boringssl-base2
COPY --from=boringssl-base1 /src/boringssl/include/ /artifacts/ssllib/include/
COPY --from=boringssl-base1 /build/ssl/libssl.so /build/crypto/libcrypto.so /artifacts/ssllib/lib/
COPY --from=boringssl-base1 /libdeps/* /artifacts/ssllib/libdeps/
COPY --from=boringssl-base1 /libdeps/* /lib/
COPY --from=boringssl-base1 /build/tool/bssl \
  /build/ssl/test/bssl_shim /bin/

FROM boringssl-base2 as boringssl-server
ARG VERSION
LABEL "tls_implementation"="boringssl"
LABEL "tls_implementation_version"="${VERSION}"
LABEL "tls_implementation_connectionRole"="server"
ENTRYPOINT ["server-entrypoint", "bssl", "s_server"]

FROM boringssl-base2 as boringssl-client
ARG VERSION
LABEL "tls_implementation"="boringssl"
LABEL "tls_implementation_version"="${VERSION}"
LABEL "tls_implementation_connectionRole"="client"
ENTRYPOINT ["client-entrypoint", "bssl", "s_client"]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy