mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-25 01:04:29 +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>
35 lines
623 B
Plaintext
35 lines
623 B
Plaintext
#
|
|
# Copyright (c) 2020 ARM Limited
|
|
#
|
|
# 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 install -y \
|
|
autoconf \
|
|
automake \
|
|
binutils \
|
|
build-essential \
|
|
chrony \
|
|
coreutils \
|
|
curl \
|
|
debianutils \
|
|
debootstrap \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
libc-dev \
|
|
libstdc++-6-dev \
|
|
m4 \
|
|
make \
|
|
sed \
|
|
systemd \
|
|
tar \
|
|
vim
|
|
# This will install the proper packages to build Kata components
|
|
@INSTALL_MUSL@
|
|
@INSTALL_RUST@
|