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>
35 lines
606 B
Docker
35 lines
606 B
Docker
#
|
|
# Copyright (c) 2018 HyperHQ Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
ARG IMAGE_REGISTRY=docker.io
|
|
FROM ${IMAGE_REGISTRY}/alpine:3.15
|
|
|
|
RUN apk update && apk add --no-cache \
|
|
apk-tools-static \
|
|
autoconf \
|
|
automake \
|
|
bash \
|
|
binutils \
|
|
cmake \
|
|
coreutils \
|
|
curl \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
libc-dev \
|
|
linux-headers \
|
|
m4 \
|
|
make \
|
|
musl \
|
|
musl-dev \
|
|
openssl-dev \
|
|
perl \
|
|
perl-module-build \
|
|
pkgconfig \
|
|
protoc \
|
|
tar
|
|
# aarch64 requires this name -- link for all
|
|
RUN ln -s /usr/bin/gcc "/usr/bin/$(uname -m)-linux-musl-gcc"
|