2021-11-17 16:33:44 +00:00
|
|
|
FROM hirs/hirs-ci:centos7
|
|
|
|
|
|
|
|
# Install packages for installing HIRS TPM2 Provisioner
|
|
|
|
RUN yum -y update && yum clean all
|
|
|
|
RUN yum install -y tpm2-tools libcurl procps-ng wget dbus python-requests python2-future python36-future && yum clean all
|
|
|
|
|
|
|
|
# Install PACCOR for Device Info Gathering
|
|
|
|
RUN mkdir paccor && pushd paccor && wget https://github.com/nsacyber/paccor/releases/download/v1.1.4r2/paccor-1.1.4-2.noarch.rpm && yum -y install paccor-*.rpm && popd
|
|
|
|
|
|
|
|
# Install Software TPM for Provisioning
|
2022-04-11 20:43:29 +00:00
|
|
|
RUN mkdir ibmtpm && pushd ibmtpm && wget --no-check-certificate https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1332.tar.gz && tar -zxvf ibmtpm1332.tar.gz && cd src && make -j5 && popd
|
2021-11-17 16:33:44 +00:00
|
|
|
|
2022-04-11 20:43:29 +00:00
|
|
|
# Install TSS for TPM setup
|
|
|
|
RUN mkdir ibmtss && pushd ibmtss && wget --no-check-certificate https://downloads.sourceforge.net/project/ibmtpm20tss/ibmtss1.6.0.tar.gz && tar -zxvf ibmtss1.6.0.tar.gz && cd utils && make -f makefiletpmc && popd
|