mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-01 05:24:19 +01:00
adding kmod to kernel building docker env to remove warning Fixes: #5866 Signed-off-by: Alex Carter <Alex.Carter@ibm.com>
24 lines
535 B
Docker
24 lines
535 B
Docker
# Copyright (c) 2021 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
FROM ubuntu:20.04
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# kernel deps
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
bc \
|
|
bison \
|
|
build-essential \
|
|
ca-certificates \
|
|
curl \
|
|
flex \
|
|
git \
|
|
iptables \
|
|
kmod \
|
|
libelf-dev \
|
|
patch && \
|
|
if [ "$(uname -m)" = "s390x" ]; then apt-get install -y --no-install-recommends libssl-dev; fi && \
|
|
apt-get clean && rm -rf /var/lib/lists/
|