mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-01 21:44:22 +01: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>
43 lines
882 B
Docker
43 lines
882 B
Docker
#
|
|
# Copyright (c) 2019 SUSE LLC
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# openSUSE Tumbleweed image has only 'latest' tag so ignore DL3006 rule.
|
|
# hadolint ignore=DL3006
|
|
from opensuse/tumbleweed
|
|
|
|
# zypper -y or --non-interactive can be used interchangeably here so ignore
|
|
# DL3034 rule.
|
|
# hadolint ignore=DL3034
|
|
RUN zypper --non-interactive refresh; \
|
|
zypper --non-interactive install --no-recommends --force-resolution \
|
|
autoconf \
|
|
automake \
|
|
binutils \
|
|
coreutils \
|
|
cpio \
|
|
curl \
|
|
dracut \
|
|
gcc \
|
|
gcc-c++ \
|
|
git-core \
|
|
glibc-devel \
|
|
glibc-devel-static \
|
|
glibc-utils \
|
|
libstdc++-devel \
|
|
linux-glibc-devel \
|
|
m4 \
|
|
make \
|
|
sed \
|
|
tar \
|
|
vim \
|
|
which; \
|
|
zypper --non-interactive clean --all;
|
|
|
|
|
|
# This will install the proper golang to build Kata components
|
|
@INSTALL_MUSL@
|
|
@INSTALL_GO@
|
|
@INSTALL_RUST@
|