mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 11:31:05 +00:00
All commands within the Dockerfile should use the same casing (either upper or lower).[1] [1]: https://docs.docker.com/reference/build-checks/consistent-instruction-casing/ Signed-off-by: Zhiwei Huang <ai.william@outlook.com>
40 lines
791 B
Docker
40 lines
791 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;
|
|
|
|
|
|
@INSTALL_RUST@
|