rootfs: Ensure we use a compatible version of dcap with rats-tls

DCAP has upgraded to 1.16, which is not compatible with the host OS used
as part of our CI (2022ww44).  Let's ensure DCAP 1.15 is used instead.

Fixes: #6529

Signed-off-by: Wang, Arron <arron.wang@intel.com>
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio
2023-03-27 13:04:17 +02:00
parent b1afabdef0
commit bda8160224
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ RUN echo 'deb [arch=amd64] http://mirrors.openanolis.cn/inclavare-containers/ubu
echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu ${OS_VERSION} main' \| tee /etc/apt/sources.list.d/intel-sgx.list; \
curl -L https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key \| apt-key add -; \
apt-get update; \
apt-get install -y rats-tls-tdx
apt-get install -y rats-tls-tdx libtdx-attest=1.15\*
"
else
echo "rats-tls-tdx is only provided for Ubuntu 20.04, there's yet no packages for Ubuntu ${VERSION_ID}"

View File

@@ -49,7 +49,7 @@ echo 'deb [arch=amd64] http://security.ubuntu.com/ubuntu focal-security main uni
echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | tee /etc/apt/sources.list.d/intel-sgx.list
echo 'deb [arch=amd64] http://mirrors.openanolis.cn/inclavare-containers/ubuntu${VERSION_ID} focal main' | tee /etc/apt/sources.list.d/inclavare-containers.list
apt-get update
apt-get install -y rats-tls-tdx
apt-get install -y rats-tls-tdx libtdx-attest=1.15\*
echo 'port=4050' | tee /etc/tdx-attest.conf
EOF