mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-31 13:04:23 +01:00
Building rootfs does not depend on golang, delete intalling golang may save build time. And there is only rust agent now, the code for golang agent should be deleted too. Fixes: #2170 Signed-off-by: bin <bin@hyper.sh>
41 lines
718 B
Docker
41 lines
718 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++-6-dev \
|
|
m4 \
|
|
make \
|
|
musl \
|
|
musl-dev \
|
|
musl-tools \
|
|
sed \
|
|
systemd \
|
|
tar \
|
|
vim \
|
|
wget
|
|
|
|
# This will install the proper packages to build Kata components
|
|
@INSTALL_RUST@
|