Skip to content

Commit 0ca1980

Browse files
authored
Update Dockerfile
Updated docker file to do a full build to avoid maven central
1 parent 72489ba commit 0ca1980

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Dockerfile

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
11
FROM maven:3.6.1-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
37
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
418

519
WORKDIR /build/TLS-Scanner
620
RUN mvn clean install -DskipTests=true
721

822
#############
9-
FROM openjdk:8-alpine
23+
FROM openjdk:11
1024

1125
COPY --from=build-image /build/TLS-Scanner/apps /apps
1226

0 commit comments

Comments
 (0)