mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-10 22:12:35 +00:00
These new dependencies are needed by Linux 6.16+. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
33 lines
723 B
Docker
33 lines
723 B
Docker
# Copyright (c) 2021 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
FROM ubuntu:22.04
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
ARG ARCH
|
|
|
|
# kernel deps
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
bc \
|
|
bison \
|
|
build-essential \
|
|
ca-certificates \
|
|
curl \
|
|
debhelper \
|
|
flex \
|
|
git \
|
|
iptables \
|
|
kmod \
|
|
libdw-dev \
|
|
libelf-dev \
|
|
libssl-dev \
|
|
gettext \
|
|
rsync \
|
|
cpio \
|
|
patch \
|
|
python3 && \
|
|
if [ "${ARCH}" != "$(uname -m)" ]; then apt-get install --no-install-recommends -y gcc-"${ARCH}"-linux-gnu binutils-"${ARCH}"-linux-gnu; fi && \
|
|
apt-get clean && apt-get autoclean && rm -rf /var/lib/apt/lists/*
|