blob: afa5b7dad6129f4ecf945c37355c4c14c482b9a2 [file] [log] [blame]
Manjunath Ranganathaiahfd2e9972018-07-13 16:26:16 -07001FROM rmannfv/aaf-base:openssl_1.1.0
2
3RUN git clone https://gerrit.onap.org/r/aaf/sshsm
4RUN cd sshsm && \
5 cd tpm-util && \
6 cd duplicate && \
7 make -f sampleMakefile
8
9RUN mkdir /createca
10COPY ./create_ca.sh /createca/
11RUN mkdir /dup
Manjunath Ranganathaiahfd2e9972018-07-13 16:26:16 -070012RUN mkdir /dup/bin
13
14RUN cp sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin
Manjunath Ranganathaiahfd2e9972018-07-13 16:26:16 -070015
16ADD entrypoint.sh /entrypoint.sh
17ENTRYPOINT [ "/entrypoint.sh" ]