blob: 89f7fef79b106190a4e71242743c9e190935f530 [file] [log] [blame]
Pramod Raghavendra Jayathirth2047f382018-07-02 12:06:50 -07001# Base Image for the build
Pramod Raghavendra Jayathirtha0865ee2018-08-27 09:05:45 -07002FROM nexus3.onap.org:10001/onap/aaf/aaf-base-xenial:latest
Pramod Raghavendra Jayathirth2047f382018-07-02 12:06:50 -07003
Pramod Raghavendra Jayathirth2047f382018-07-02 12:06:50 -07004# Files required for the Java application
5RUN wget https://www.bouncycastle.org/download/bcprov-jdk15on-159.jar
6RUN wget https://www.bouncycastle.org/download/bcpkix-jdk15on-159.jar
7RUN wget https://www.bouncycastle.org/download/bcmail-jdk15on-159.jar
8RUN wget https://www.bouncycastle.org/download/bcpg-jdk15on-159.jar
9RUN wget https://www.bouncycastle.org/download/bctls-jdk15on-159.jar
Pramod Raghavendra Jayathirth2047f382018-07-02 12:06:50 -070010RUN cp ./bcpkix-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/
11RUN cp ./bcprov-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/
12RUN cp ./bcmail-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/
13RUN cp ./bcpg-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/
14RUN cp ./bctls-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext
15
Kiran Kamineni8b2b7292018-09-19 13:40:14 -070016# Create the directory for running things in this container
17RUN mkdir -p /testca/bin
Pramod Raghavendra Jayathirthcdeedf52018-10-03 11:03:02 -070018RUN mkdir -p /testca/tests/multithread
Pramod Raghavendra Jayathirth2047f382018-07-02 12:06:50 -070019
Kiran Kamineni8b2b7292018-09-19 13:40:14 -070020COPY import.sh /testca/bin
21COPY softhsmconfig.sh /testca/bin
22COPY application.sh /testca/bin
23COPY CaSign.java /testca/bin
24COPY test.csr /testca/bin
Pramod Raghavendra Jayathirthcdeedf52018-10-03 11:03:02 -070025
26# Files for Stress testing operations
27COPY multithreadapplication.sh /testca/tests/multithread
28COPY softhsmconfig.sh /testca/tests/multithread
29COPY CaSignMultiThread.java /testca/tests/multithread
30COPY multithreadapplication.sh /testca/tests/multithread
31COPY multithreadimport.sh /testca/tests/multithread
32COPY gencsr.sh /testca/tests/multithread