kernel: build: Add container build

Add script to build kernel in a container.

Signed-off-by: Carlos Venegas <jos.c.venegas.munoz@intel.com>
This commit is contained in:
Carlos Venegas
2021-07-07 20:06:43 +00:00
parent b789a935cf
commit d46ae3248e
5 changed files with 62 additions and 16 deletions

View File

@@ -0,0 +1,18 @@
# 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 \