acrn-hypervisor/.travis-dockerfiles/Dockerfile.centos7
Geoffroy Van Cutsem b2fa8c5ea0 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>
2018-06-25 17:30:30 +08:00

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"]