Dockerfiles: add Python3 and kconfiglib build dependency

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>
This commit is contained in:
Geoffroy Van Cutsem
2018-06-22 13:18:18 +02:00
committed by lijinxia
parent ad59375dfd
commit b2fa8c5ea0
10 changed files with 63 additions and 18 deletions

View File

@@ -1,6 +1,7 @@
# 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 \
@@ -13,7 +14,11 @@ RUN yum -y install gcc \
systemd-devel \
libxml2-devel \
libevent-devel \
libusbx-devel
libusbx-devel \
python34 \
python34-pip
RUN pip3 install kconfiglib
WORKDIR /root/acrn