mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-12 22:58:58 +00:00
Removed all errors/warnings pointed out by hadolint version 2.7.0, except for the following ignored rules: - "DL3008 warning: Pin versions in apt get install" - "DL3041 warning: Specify version with `dnf install -y <package>-<version>`" - "DL3033 warning: Specify version with `yum install -y <package>-<version>`" - "DL3048 style: Invalid label key" - "DL3003 warning: Use WORKDIR to switch to a directory" - "DL3018 warning: Pin versions in apk add. Instead of apk add <package> use apk add <package>=<version>" - "DL3037 warning: Specify version with zypper install -y <package>[=]<version>" Fixes #3107 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
19 lines
425 B
Docker
19 lines
425 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 \
|
|
xfsprogs && \
|
|
dnf clean all
|