diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-08-23 18:33:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-23 18:33:23 +0000 |
commit | cacc77da25e42ccae6344dbffd5f7b28d5b6b642 (patch) | |
tree | f9bf8a5180d9ecd60072f1ac7a3c7d6e0815faa7 /bin/base | |
parent | 7c6ce03e30552e4acc7a065cc05547b08fba82d3 (diff) | |
parent | 858b1278219b5cb6ca6f6d4abcb20b0180216be1 (diff) |
Merge "Add build scripts and tabrmd"
Diffstat (limited to 'bin/base')
-rw-r--r-- | bin/base/openssldockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/base/openssldockerfile b/bin/base/openssldockerfile index 2607473..6c323c4 100644 --- a/bin/base/openssldockerfile +++ b/bin/base/openssldockerfile @@ -32,6 +32,7 @@ RUN apt-get -y update && \ RUN apt-get -y install libgcrypt20-dev 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 RUN cd tpm2-tss && \ @@ -42,6 +43,17 @@ RUN cd tpm2-tss && \ make install RUN rm -rf tpm2-tss +RUN cd tpm2-abrmd && \ + git checkout 1.1.1 && \ + useradd --system --user-group tss && \ + ./bootstrap && \ + ./configure --with-dbuspolicydir=/etc/dbus-1/system.d \ + --with-udevrulesdir=/etc/udev/rules.d/ \ + --with-systemdsystemunitdir=/lib/systemd/system && \ + make && \ + make install +RUN rm -rf tpm2-abrmd + RUN cd tpm2-tools && \ git checkout 2.1.0 && \ ./bootstrap && \ |