mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
move all osbuilder files into `tools` directory to be able to merge this into kata-containers repo. Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
47 lines
983 B
Docker
47 lines
983 B
Docker
#
|
|
# Copyright (C) 2018 Huawei Technologies Co., Ltd
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
FROM docker.io/euleros:@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 \
|
|
libstdc++-devel \
|
|
libstdc++-static \
|
|
m4 \
|
|
make \
|
|
sed \
|
|
tar \
|
|
vim \
|
|
which \
|
|
yum
|
|
|
|
# This will install the proper golang to build Kata components
|
|
@INSTALL_GO@
|
|
|
|
# several problems prevent us from building rust agent on euleros
|
|
# 1. There is no libstdc++.a. copy one from somewhere get through
|
|
# compilation
|
|
# 2. The kernel (3.10.x) is too old, kernel-headers pacakge
|
|
# has no vm_socket.h because kernel has no vsock support or
|
|
# vsock header files
|
|
|
|
# We will disable rust agent build in rootfs.sh for euleros
|
|
# and alpine(musl cannot support proc-macro)
|