mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 22:53:43 +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>
44 lines
714 B
Docker
44 lines
714 B
Docker
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
ARG IMAGE_REGISTRY=docker.io
|
|
FROM ${IMAGE_REGISTRY}/fedora:30
|
|
|
|
@SET_PROXY@
|
|
|
|
RUN dnf -y update && dnf install -y \
|
|
autoconf \
|
|
automake \
|
|
binutils \
|
|
chrony \
|
|
coreutils \
|
|
curl \
|
|
curl \
|
|
gcc \
|
|
gcc-c++ \
|
|
git \
|
|
glibc-common \
|
|
glibc-devel \
|
|
glibc-headers \
|
|
glibc-static \
|
|
glibc-utils \
|
|
libseccomp \
|
|
libseccomp-devel \
|
|
libstdc++-devel \
|
|
libstdc++-static \
|
|
m4 \
|
|
make \
|
|
pkgconfig \
|
|
sed \
|
|
systemd \
|
|
tar \
|
|
vim \
|
|
which && \
|
|
dnf clean all
|
|
|
|
# This will install the proper packages to build Kata components
|
|
@INSTALL_MUSL@
|
|
@INSTALL_RUST@
|