diff options
author | Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> | 2018-08-22 11:08:57 -0700 |
---|---|---|
committer | Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> | 2018-08-22 14:17:08 -0700 |
commit | 858b1278219b5cb6ca6f6d4abcb20b0180216be1 (patch) | |
tree | af8afb6a9f0ca0ac77b3e187ab424fe80d21441a /bin/distcenter/distcenterdockerfile | |
parent | 572150672972e58d3e2b2f21e5dfd3004bce6b68 (diff) |
Add build scripts and tabrmd
There is a dependency on tabrmd while building duplicate tool
and this is required for now. Cleanup and use base container
from nexus repo. Add build scripts for nightly build.
Change-Id: I4c3487d22988927084d7336671b81144374ccb5d
Issue-ID: AAF-418
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Diffstat (limited to 'bin/distcenter/distcenterdockerfile')
-rw-r--r-- | bin/distcenter/distcenterdockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/distcenter/distcenterdockerfile b/bin/distcenter/distcenterdockerfile new file mode 100644 index 0000000..d643878 --- /dev/null +++ b/bin/distcenter/distcenterdockerfile @@ -0,0 +1,16 @@ +FROM nexus3.onap.org:10001/onap/aaf/aaf-base-openssl_1.1.0:latest + +RUN git clone https://gerrit.onap.org/r/aaf/sshsm +RUN cd sshsm && \ + cd tpm-util && \ + cd duplicate && \ + make -f sampleMakefile +RUN mkdir -p /dup/bin && \ + cp sshsm/tpm-util/duplicate/ossl_tpm_duplicate /dup/bin && \ + rm -rf sshsm + +RUN mkdir -p /distcenter/bin +COPY ./create_ca.sh /distcenter/bin + +ADD entrypoint.sh /entrypoint.sh +ENTRYPOINT [ "/entrypoint.sh" ] |