mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-06 16:04:26 +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>
40 lines
670 B
Docker
40 lines
670 B
Docker
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
ARG IMAGE_REGISTRY=registry.centos.org
|
|
FROM ${IMAGE_REGISTRY}/centos:@OS_VERSION@
|
|
|
|
@SET_PROXY@
|
|
|
|
RUN yum -y update && yum install -y \
|
|
autoconf \
|
|
automake \
|
|
binutils \
|
|
chrony \
|
|
coreutils \
|
|
curl \
|
|
gcc \
|
|
gcc-c++ \
|
|
git \
|
|
glibc-common \
|
|
glibc-devel \
|
|
glibc-headers \
|
|
glibc-static \
|
|
glibc-utils \
|
|
libseccomp \
|
|
libseccomp-devel \
|
|
libstdc++-devel \
|
|
libstdc++-static \
|
|
m4 \
|
|
make \
|
|
sed \
|
|
tar \
|
|
vim \
|
|
which
|
|
|
|
# This will install the proper packages to build Kata components
|
|
@INSTALL_MUSL@
|
|
@INSTALL_RUST@
|