mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
ci/openshift-ci: delint dockerfiles
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>
This commit is contained in:
parent
aeb2b673b3
commit
3669e1b6d9
@ -6,4 +6,9 @@
|
|||||||
#
|
#
|
||||||
FROM registry.centos.org/centos:8
|
FROM registry.centos.org/centos:8
|
||||||
|
|
||||||
RUN yum -y update && yum -y install git sudo wget
|
RUN yum -y update && \
|
||||||
|
yum -y install \
|
||||||
|
git \
|
||||||
|
sudo \
|
||||||
|
wget && \
|
||||||
|
yum clean all
|
||||||
|
Loading…
Reference in New Issue
Block a user