mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-06 16:04:26 +01:00
Remove a lot of cruft of musl installations -- we needed those for the Go agent, but Rustup just takes care of everything. aarch64 on Debian-based & Alpine is an exception -- create a symlink `aarch64-linux-musl-gcc` to `musl-tools`'s `musl-gcc` or `gcc` on Alpine. This is unified -- arch-specific Dockerfiles are removed. Furthermore, we should keep it in Ubuntu for supporting the offline SEV KBC. We also keep it in Clear Linux, as that runs our internal checks, but it is e.g. not shipped in CentOS Stream 9. Signed-off-by: Jakob Naucke <jakob.naucke@ibm.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@
|