mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-27 11:04:21 +01:00
Currently the image-builder image is built from `fedora:latest` and this is error-prone as any update of the base image can lead to breakage. Instead let's create the image from Fedora 34, which is the last known version to build fine. Fixes #2960 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
11 lines
320 B
Docker
11 lines
320 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
|
|
|
|
RUN dnf install -y qemu-img parted gdisk e2fsprogs gcc xfsprogs findutils
|