mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-08 08:54:29 +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>
21 lines
614 B
Docker
21 lines
614 B
Docker
#
|
|
# Copyright (c) 2018 SUSE LLC
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
ARG IMAGE_REGISTRY=docker.io
|
|
#suse: docker image to be used to create a rootfs
|
|
#@OS_VERSION@: Docker image version to build this dockerfile
|
|
FROM ${IMAGE_REGISTRY}/opensuse/leap:15.0
|
|
|
|
# This dockerfile needs to provide all the componets need to build a rootfs
|
|
# Install any package need to create a rootfs (package manager, extra tools)
|
|
|
|
COPY install-packages.sh config.sh /
|
|
# RUN commands
|
|
RUN chmod +x /install-packages.sh; /install-packages.sh
|
|
|
|
# This will install the proper packages to build Kata components
|
|
@INSTALL_MUSL@
|
|
@INSTALL_RUST@
|