
images.bouncycastle.Dockerfile-1_x 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 maven:slim as maven
ARG VERSION
RUN apt update && apt install -y git
WORKDIR /src
RUN git clone https://github.com/RUB-NDS/BouncyCastleTLS.git
WORKDIR /src/BouncyCastleTLS
RUN mvn clean install -Dbc.version=1.${VERSION}
FROM entrypoint as entrypoint
FROM openjdk:jre-slim
ARG VERSION
LABEL "tls_implementation"="bouncycastle"
LABEL "tls_implementation_version"="1.${VERSION}"
LABEL "tls_implementation_connectionRole"="server"
COPY --from=maven /src/BouncyCastleTLS/target/BouncyCastleTLS-1.${VERSION}-1.0.jar /apps/BouncyCastleTLS.jar
COPY --from=maven /src/BouncyCastleTLS/target/lib /apps/lib
COPY --from=entrypoint /bin/server-entrypoint /usr/local/bin/
WORKDIR /apps
ENTRYPOINT ["server-entrypoint", "java", "-jar", "BouncyCastleTLS.jar"]
CMD ["rsa2048.jks", "password", "1", "4433"]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy