mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-17 15:38:00 +00:00
osbuilder: CC, add kmod to rootfs builder docker environment
To use depmod in the rootfs builder, the docker environment will require kmod. Fixes: kata-containers#5125 Signed-Off-By: Alex Carter <alex.carter@ibm.com>
This commit is contained in:
parent
50a959e6cf
commit
59537ceb2d
@ -40,7 +40,8 @@ RUN apt-get update && \
|
||||
pkg-config \
|
||||
protobuf-compiler \
|
||||
gettext-base \
|
||||
umoci
|
||||
umoci \
|
||||
kmod
|
||||
|
||||
# aarch64 requires this name -- link for all
|
||||
RUN ln -s /usr/bin/musl-gcc "/usr/bin/$(uname -m)-linux-musl-gcc"
|
||||
|
@ -5,11 +5,11 @@
|
||||
OS_NAME=ubuntu
|
||||
# This should be Ubuntu's code name, e.g. "focal" (Focal Fossa) for 20.04
|
||||
OS_VERSION=${OS_VERSION:-focal}
|
||||
PACKAGES="chrony iptables"
|
||||
PACKAGES="chrony iptables kmod"
|
||||
[ "$AGENT_INIT" = no ] && PACKAGES+=" init"
|
||||
[ "$KATA_BUILD_CC" = yes ] && PACKAGES+=" cryptsetup-bin e2fsprogs"
|
||||
[ "$SECCOMP" = yes ] && PACKAGES+=" libseccomp2"
|
||||
[ "$SKOPEO" = yes ] && PACKAGES+=" libgpgme11"
|
||||
[ "$SKOPEO" = yes ] && PACKAGES+=" libgpgme11 libdevmapper1.02.1"
|
||||
REPO_URL=http://ports.ubuntu.com
|
||||
|
||||
case "$ARCH" in
|
||||
|
Loading…
Reference in New Issue
Block a user