mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-31 23:36:12 +00: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. Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
31 lines
537 B
Docker
31 lines
537 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 \
|
|
protoc \
|
|
tar
|
|
# aarch64 requires this name -- link for all
|
|
RUN ln -s /usr/bin/gcc "/usr/bin/$(uname -m)-linux-musl-gcc"
|