mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-07 12:29:56 +00:00
Generate rootfs hash data during creating the kata rootfs, current kata image only have one partition, we add another partition as hash device to save hash data of rootfs data blocks. Fixes: #6674 Signed-off-by: Wang, Arron <arron.wang@intel.com>
20 lines
447 B
Docker
20 lines
447 B
Docker
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
ARG IMAGE_REGISTRY=registry.fedoraproject.org
|
|
FROM ${IMAGE_REGISTRY}/fedora:38
|
|
|
|
RUN ([ -n "$http_proxy" ] && \
|
|
sed -i '$ a proxy='$http_proxy /etc/dnf/dnf.conf ; true) && \
|
|
dnf install -y \
|
|
e2fsprogs \
|
|
findutils \
|
|
gcc \
|
|
gdisk \
|
|
parted \
|
|
qemu-img \
|
|
veritysetup \
|
|
xfsprogs && \
|
|
dnf clean all
|