diff options
author | Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com> | 2018-08-02 10:41:31 -0700 |
---|---|---|
committer | Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com> | 2018-08-22 09:35:07 -0700 |
commit | 51449dab404b457264e1a36206773b9764241167 (patch) | |
tree | 6187b645b21df022530efabe2cd72ba36b750c4b /bin/abrmdcontainer/dockerfile | |
parent | 6a2a8d92236fcb5763af59d69c3a9d0edc9010c0 (diff) |
Containerize TPM Initialization tool
Modifying ABRMD container to support Init tool
Change-Id: I8b2f8171688b67567e3ad4a3e4942ae76737bdfc
Issue-ID: AAF-342
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
Diffstat (limited to 'bin/abrmdcontainer/dockerfile')
-rwxr-xr-x[-rw-r--r--] | bin/abrmdcontainer/dockerfile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/bin/abrmdcontainer/dockerfile b/bin/abrmdcontainer/dockerfile index d1c9480..fc788b5 100644..100755 --- a/bin/abrmdcontainer/dockerfile +++ b/bin/abrmdcontainer/dockerfile @@ -31,6 +31,9 @@ RUN git clone https://github.com/tpm2-software/tpm2-tss.git RUN git clone https://github.com/tpm2-software/tpm2-abrmd.git RUN git clone https://github.com/tpm2-software/tpm2-tools.git +# Directory for the scripts +RUN mkdir -p /abrmd/bin + RUN cd tpm2-tss && \ git checkout 1.2.0 && \ ./bootstrap && \ @@ -58,5 +61,12 @@ RUN cd tpm2-tools && \ RUN echo "/usr/local/lib" > /etc/ld.so.conf.d/tpm2.conf && \ ldconfig -ADD entrypoint.sh /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"]
\ No newline at end of file +RUN rm -rf tpm2-tss +RUN rm -rf tpm2-abrmd +RUN rm -rf tpm2-tools + +COPY ./initialize_tpm.sh /abrmd/bin/ +COPY ./run_abrmd.sh /abrmd/bin/ +COPY ./init.sh /abrmd/bin/ + +RUN chmod -R +x /abrmd/bin |