mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
Let's update the OVMF for TDX version to what's the latest tested release of the Intel TDX tools with Kata Containers. This change requires a newer version of `nasm` than the one provided by the container used to build the project. This change will also be needed for SEV-SNP and was originally done by Alex Carter (thanks!). Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com> Signed-off-by: Alex Carter <Alex.Carter@ibm.com>
29 lines
709 B
Docker
29 lines
709 B
Docker
# Copyright (c) 2022 IBM
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
FROM ubuntu:20.04
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
curl \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
iasl \
|
|
make \
|
|
python \
|
|
python3 \
|
|
python3-distutils \
|
|
uuid-dev && \
|
|
apt-get clean && rm -rf /var/lib/lists/ && \
|
|
cd /tmp && curl -fsLO https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.gz && \
|
|
tar xf nasm-2.15.05.tar.gz && \
|
|
cd nasm-2.15.05 && \
|
|
./configure && \
|
|
make -j"$(nproc)" && \
|
|
make install && \
|
|
cd /tmp && rm -r nasm-2.15.05*
|