mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-19 01:39:48 +00:00
As we'll be untarring the agent tarball (and any other component that may be part of the rootfs) into the rootfs, we have to have xz installed. For debian and ubuntu the package is called xz-utils; for centos, alpine and cbl-mariner the package is called xz. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
32 lines
546 B
Docker
32 lines
546 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 \
|
|
xz
|
|
# aarch64 requires this name -- link for all
|
|
RUN ln -s /usr/bin/gcc "/usr/bin/$(uname -m)-linux-musl-gcc"
|