mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-28 04:34:47 +00:00
This adds Python3 and the 'kconfiglib' tool to all Dockerfiles. This is required in order to build (and/or configure) the ACRN hypervisor. It also adds 'findutils' to all Fedora Dockerfiles as both 'find' and 'xargs' are used in some Makefiles and provided by this package. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
26 lines
697 B
Docker
26 lines
697 B
Docker
# Build container based on CentOS 7
|
|
FROM centos:centos7
|
|
|
|
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
|
RUN yum -y update; yum clean all
|
|
RUN yum -y install gcc \
|
|
git \
|
|
make \
|
|
vim \
|
|
libuuid-devel \
|
|
openssl-devel \
|
|
libpciaccess-devel \
|
|
gnu-efi-devel \
|
|
systemd-devel \
|
|
libxml2-devel \
|
|
libevent-devel \
|
|
libusbx-devel \
|
|
python34 \
|
|
python34-pip
|
|
|
|
RUN pip3 install kconfiglib
|
|
|
|
WORKDIR /root/acrn
|
|
|
|
CMD ["/bin/bash"]
|