diff options
Diffstat (limited to 'bin/base/openssldockerfile')
-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 && \ |