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>
42 lines
818 B
Docker
42 lines
818 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 \
|
|
xz-utils
|
|
# 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@
|