From 858b1278219b5cb6ca6f6d4abcb20b0180216be1 Mon Sep 17 00:00:00 2001 From: Manjunath Ranganathaiah Date: Wed, 22 Aug 2018 11:08:57 -0700 Subject: 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 --- bin/base/openssldockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bin/base/openssldockerfile') 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 && \ -- cgit 1.2.3-korg