Pramod Raghavendra Jayathirth | 2047f38 | 2018-07-02 12:06:50 -0700 | [diff] [blame] | 1 | # Base Image for the build |
Pramod Raghavendra Jayathirth | a0865ee | 2018-08-27 09:05:45 -0700 | [diff] [blame] | 2 | FROM nexus3.onap.org:10001/onap/aaf/aaf-base-xenial:latest |
Pramod Raghavendra Jayathirth | 2047f38 | 2018-07-02 12:06:50 -0700 | [diff] [blame] | 3 | |
Pramod Raghavendra Jayathirth | 2047f38 | 2018-07-02 12:06:50 -0700 | [diff] [blame] | 4 | # Files required for the Java application |
| 5 | RUN wget https://www.bouncycastle.org/download/bcprov-jdk15on-159.jar |
| 6 | RUN wget https://www.bouncycastle.org/download/bcpkix-jdk15on-159.jar |
| 7 | RUN wget https://www.bouncycastle.org/download/bcmail-jdk15on-159.jar |
| 8 | RUN wget https://www.bouncycastle.org/download/bcpg-jdk15on-159.jar |
| 9 | RUN wget https://www.bouncycastle.org/download/bctls-jdk15on-159.jar |
Pramod Raghavendra Jayathirth | 2047f38 | 2018-07-02 12:06:50 -0700 | [diff] [blame] | 10 | RUN cp ./bcpkix-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/ |
| 11 | RUN cp ./bcprov-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/ |
| 12 | RUN cp ./bcmail-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/ |
| 13 | RUN cp ./bcpg-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/ |
| 14 | RUN cp ./bctls-jdk15on-159.jar /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext |
| 15 | |
Kiran Kamineni | 8b2b729 | 2018-09-19 13:40:14 -0700 | [diff] [blame] | 16 | # Create the directory for running things in this container |
| 17 | RUN mkdir -p /testca/bin |
Pramod Raghavendra Jayathirth | cdeedf5 | 2018-10-03 11:03:02 -0700 | [diff] [blame] | 18 | RUN mkdir -p /testca/tests/multithread |
Pramod Raghavendra Jayathirth | 2047f38 | 2018-07-02 12:06:50 -0700 | [diff] [blame] | 19 | |
Kiran Kamineni | 8b2b729 | 2018-09-19 13:40:14 -0700 | [diff] [blame] | 20 | COPY import.sh /testca/bin |
| 21 | COPY softhsmconfig.sh /testca/bin |
| 22 | COPY application.sh /testca/bin |
| 23 | COPY CaSign.java /testca/bin |
| 24 | COPY test.csr /testca/bin |
Pramod Raghavendra Jayathirth | cdeedf5 | 2018-10-03 11:03:02 -0700 | [diff] [blame] | 25 | |
| 26 | # Files for Stress testing operations |
| 27 | COPY multithreadapplication.sh /testca/tests/multithread |
| 28 | COPY softhsmconfig.sh /testca/tests/multithread |
| 29 | COPY CaSignMultiThread.java /testca/tests/multithread |
| 30 | COPY multithreadapplication.sh /testca/tests/multithread |
| 31 | COPY multithreadimport.sh /testca/tests/multithread |
| 32 | COPY gencsr.sh /testca/tests/multithread |