diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-07-17 03:28:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-07-17 03:28:32 +0000 |
commit | 37ae03d707d87c00f49feaface32c38286013029 (patch) | |
tree | 0c3806597a35817a01a678edeb9f6d1df8a92401 /bin/distcenter/Dockerfile | |
parent | 340f71a18cfcb41444f370a295545847db9ac912 (diff) | |
parent | fd2e9971b51bee7a2f7d1c5890dfd147da02d7f4 (diff) |
Merge "Key distribution center container"
Diffstat (limited to 'bin/distcenter/Dockerfile')
-rw-r--r-- | bin/distcenter/Dockerfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/distcenter/Dockerfile b/bin/distcenter/Dockerfile new file mode 100644 index 0000000..f79c7ef --- /dev/null +++ b/bin/distcenter/Dockerfile @@ -0,0 +1,20 @@ +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/database +RUN mkdir /dup/database/host_sample +RUN mkdir /dup/bin + +RUN cp sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin +RUN cp sshsm/test/integration/samplecaservicecontainer/inittoolfiles/out_parent_public /dup/database/host_sample + +ADD entrypoint.sh /entrypoint.sh +ENTRYPOINT [ "/entrypoint.sh" ] |