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

images.nss.Dockerfile_pre_3_36_8 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.6 as nss
ARG NSS_VERSION
ARG NSPR_VERSION
RUN hg clone -r NSS_${NSS_VERSION} https://hg.mozilla.org/projects/nss
RUN hg clone -r NSPR_${NSPR_VERSION} https://hg.mozilla.org/projects/nspr
RUN apk add py-pip && \
    apk add ninja && \
    pip install setuptools && \
    pip install six && \
    git clone https://chromium.googlesource.com/external/gyp && \
    cd gyp && ./setup.py install
WORKDIR /src/nss
RUN ./build.sh

FROM entrypoint as nss-base
COPY --from=nss /lib/ld-musl-x86_64.so.* \
  /lib/libz.so.* \
  /usr/lib/libstdc++.so.* \
  /usr/lib/libgcc_s.so.* \
  /src/dist/Debug/lib/* /lib/
COPY --from=nss \
  /src/dist/Debug/bin/selfserv \
  /src/dist/Debug/bin/tstclnt \
  /src/dist/Debug/bin/nss_bogo_shim /bin/

FROM nss-base as nss-server
ARG VERSION
LABEL "tls_implementation"="nss"
LABEL "tls_implementation_version"="${VERSION}"
LABEL "tls_implementation_connectionRole"="server"
ENTRYPOINT ["server-entrypoint", "/bin/selfserv"]

FROM nss-base as nss-client
ARG VERSION
LABEL "tls_implementation"="nss"
LABEL "tls_implementation_version"="${VERSION}"
LABEL "tls_implementation_connectionRole"="client"
ENTRYPOINT ["client-entrypoint", "/bin/tstclnt"]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy