mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-01 13:34:20 +01: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: #4966 Signed-off-by: Wang, Arron <arron.wang@intel.com>
20 lines
440 B
Docker
20 lines
440 B
Docker
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
ARG IMAGE_REGISTRY=registry.fedoraproject.org
|
|
FROM ${IMAGE_REGISTRY}/fedora:34
|
|
|
|
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
|