Manjunath Ranganathaiah | fd2e997 | 2018-07-13 16:26:16 -0700 | [diff] [blame] | 1 | FROM rmannfv/aaf-base:openssl_1.1.0 |
| 2 | |
| 3 | RUN git clone https://gerrit.onap.org/r/aaf/sshsm |
| 4 | RUN cd sshsm && \ |
| 5 | cd tpm-util && \ |
| 6 | cd duplicate && \ |
| 7 | make -f sampleMakefile |
| 8 | |
| 9 | RUN mkdir /createca |
| 10 | COPY ./create_ca.sh /createca/ |
| 11 | RUN mkdir /dup |
Manjunath Ranganathaiah | fd2e997 | 2018-07-13 16:26:16 -0700 | [diff] [blame] | 12 | RUN mkdir /dup/bin |
| 13 | |
| 14 | RUN cp sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin |
Manjunath Ranganathaiah | fd2e997 | 2018-07-13 16:26:16 -0700 | [diff] [blame] | 15 | |
| 16 | ADD entrypoint.sh /entrypoint.sh |
| 17 | ENTRYPOINT [ "/entrypoint.sh" ] |