mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-22 15:54:30 +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>
41 lines
803 B
Docker
41 lines
803 B
Docker
#
|
|
# Copyright (c) 2018 SUSE
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
ARG IMAGE_REGISTRY=docker.io
|
|
# NOTE: OS_VERSION is set according to config.sh
|
|
FROM ${IMAGE_REGISTRY}/debian:@OS_VERSION@
|
|
|
|
# RUN commands
|
|
RUN apt-get update && apt-get --no-install-recommends install -y \
|
|
apt-utils \
|
|
autoconf \
|
|
automake \
|
|
binutils \
|
|
build-essential \
|
|
ca-certificates \
|
|
chrony \
|
|
coreutils \
|
|
curl \
|
|
debianutils \
|
|
debootstrap \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
libc-dev \
|
|
libstdc++-8-dev \
|
|
m4 \
|
|
make \
|
|
musl-tools \
|
|
sed \
|
|
systemd \
|
|
tar \
|
|
vim \
|
|
wget
|
|
# aarch64 requires this name -- link for all
|
|
RUN ln -s /usr/bin/musl-gcc "/usr/bin/$(uname -m)-linux-musl-gcc"
|
|
|
|
# This will install the proper packages to build Kata components
|
|
@INSTALL_RUST@
|