Skip to content

Commit 8fa694a

Browse files
committed
Merge branch 'main' of github.com:tls-attacker/TLS-Scanner
2 parents 37cb506 + 55cda33 commit 8fa694a

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

Dockerfile

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,10 @@
1-
FROM maven:3.6.1-jdk-11 AS build-image
1+
FROM maven:3.8.6-jdk-11 AS build-image
22
WORKDIR /build
3-
RUN git clone https://github.com/RUB-NDS/ModifiableVariable.git
4-
RUN git clone https://github.com/RUB-NDS/ASN.1-Tool.git
5-
RUN git clone https://github.com/RUB-NDS/X509-Attacker.git
6-
RUN git clone https://github.com/RUB-NDS/TLS-Attacker.git
7-
RUN git clone https://github.com/RUB-NDS/TLS-Scanner.git --recurse-submodules
8-
WORKDIR /build/ModifiableVariable
9-
RUN git checkout tags/3.5.0
10-
RUN mvn clean install -DskipTests=true
11-
WORKDIR /build/ASN.1-Tool
12-
RUN mvn clean install -DskipTests=true
13-
WORKDIR /build/X509-Attacker
14-
RUN mvn clean install -DskipTests=true
15-
16-
WORKDIR /build/TLS-Attacker
17-
RUN mvn clean install -DskipTests=true
3+
RUN git clone https://github.com/RUB-NDS/TLS-Scanner.git
184

195
WORKDIR /build/TLS-Scanner
20-
RUN mvn clean install -DskipTests=true
6+
RUN git submodule update --init --recursive
7+
RUN mvn clean package
218

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

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

0 commit comments

Comments
 (0)