2019-01-07 20:28:53 +00:00
|
|
|
FROM hirs/hirs-ci:centos7
|
|
|
|
|
|
|
|
# Install packages for installing HIRS TPM2 Provisioner
|
|
|
|
RUN yum -y update && yum clean all
|
|
|
|
# TODO: Remove vim-common if/when Paccor updates (Also update Paccor version below)
|
|
|
|
RUN yum install -y tpm2-tools libcurl procps-ng vim-common wget dbus python-requests && yum clean all
|
|
|
|
|
|
|
|
# Install PACCOR for Device Info Gathering
|
|
|
|
RUN mkdir paccor && pushd paccor && wget https://github.com/nsacyber/paccor/releases/download/v1.0.6r3/paccor-1.0.6-3.noarch.rpm && yum -y install paccor-*.rpm && popd
|
|
|
|
|
|
|
|
# Install Software TPM for Provisioning
|
2019-05-23 09:53:54 +00:00
|
|
|
RUN mkdir ibmtpm && pushd ibmtpm && wget https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1119.tar.gz && tar -zxvf ibmtpm1119.tar.gz && cd src && make -j5 && popd
|