summaryrefslogtreecommitdiffstats
path: root/bin/base
diff options
context:
space:
mode:
authorManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2018-08-22 11:08:57 -0700
committerManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2018-08-22 14:17:08 -0700
commit858b1278219b5cb6ca6f6d4abcb20b0180216be1 (patch)
treeaf8afb6a9f0ca0ac77b3e187ab424fe80d21441a /bin/base
parent572150672972e58d3e2b2f21e5dfd3004bce6b68 (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/base')
-rw-r--r--bin/base/openssldockerfile12
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 && \