Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
FROM maven:3.6.1-jdk-11 AS build-image
FROM maven:3.8.6-jdk-11 AS build-image
WORKDIR /build
RUN git clone https://github.com/RUB-NDS/ModifiableVariable.git
RUN git clone https://github.com/RUB-NDS/ASN.1-Tool.git
RUN git clone https://github.com/RUB-NDS/X509-Attacker.git
RUN git clone https://github.com/RUB-NDS/TLS-Attacker.git
RUN git clone https://github.com/RUB-NDS/TLS-Scanner.git --recurse-submodules
WORKDIR /build/ModifiableVariable
RUN git checkout tags/3.5.0
RUN mvn clean install -DskipTests=true
WORKDIR /build/ASN.1-Tool
RUN mvn clean install -DskipTests=true
WORKDIR /build/X509-Attacker
RUN mvn clean install -DskipTests=true

WORKDIR /build/TLS-Attacker
RUN mvn clean install -DskipTests=true
RUN git clone https://github.com/RUB-NDS/TLS-Scanner.git

WORKDIR /build/TLS-Scanner
RUN mvn clean install -DskipTests=true
RUN git submodule update --init --recursive
RUN mvn clean package

#############
FROM openjdk:11
Expand All @@ -26,4 +13,3 @@ COPY --from=build-image /build/TLS-Scanner/apps /apps

WORKDIR /apps
ENTRYPOINT ["java", "-jar", "TLS-Server-Scanner.jar"]