FROM rmannfv/aaf-base:openssl_1.1.0 | |
RUN git clone https://gerrit.onap.org/r/aaf/sshsm | |
RUN cd sshsm && \ | |
cd tpm-util && \ | |
cd duplicate && \ | |
make -f sampleMakefile | |
RUN mkdir /createca | |
COPY ./create_ca.sh /createca/ | |
RUN mkdir /dup | |
RUN mkdir /dup/bin | |
RUN cp sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin | |
ADD entrypoint.sh /entrypoint.sh | |
ENTRYPOINT [ "/entrypoint.sh" ] |