mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 02:24:21 +01:00
Add script to build kernel in a container. Signed-off-by: Carlos Venegas <jos.c.venegas.munoz@intel.com>
19 lines
293 B
Docker
19 lines
293 B
Docker
# Copyright (c) 2021 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
FROM ubuntu
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# kernel deps
|
|
RUN apt update
|
|
RUN apt install -y \
|
|
bc \
|
|
bison \
|
|
build-essential \
|
|
curl \
|
|
flex \
|
|
git \
|
|
iptables \
|
|
libelf-dev \
|