| 1 |
# THIS FILE WAS AUTO-GENERATED |
| 2 |
# |
| 3 |
# $ lcitool dockerfile centos-7 libvirt+dist,libvirt-glib+dist,libvirt-dbus |
| 4 |
# |
| 5 |
# https://gitlab.com/libvirt/libvirt-ci/-/commit/b098ec6631a85880f818f2dd25c437d509e53680 |
| 6 |
FROM registry.centos.org/centos:7 |
| 7 |
|
| 8 |
RUN yum update -y && \ |
| 9 |
echo 'skip_missing_names_on_install=0' >> /etc/yum.conf && \ |
| 10 |
yum install -y epel-release && \ |
| 11 |
yum install -y \ |
| 12 |
ca-certificates \ |
| 13 |
ccache \ |
| 14 |
dbus \ |
| 15 |
gcc \ |
| 16 |
git \ |
| 17 |
glib2-devel \ |
| 18 |
glibc-common \ |
| 19 |
libvirt-devel \ |
| 20 |
libvirt-gobject-devel \ |
| 21 |
make \ |
| 22 |
ninja-build \ |
| 23 |
pkgconfig \ |
| 24 |
python3 \ |
| 25 |
python3-pip \ |
| 26 |
python3-setuptools \ |
| 27 |
python3-wheel \ |
| 28 |
python36-dbus \ |
| 29 |
python36-docutils \ |
| 30 |
python36-gobject \ |
| 31 |
python36-pytest \ |
| 32 |
rpm-build && \ |
| 33 |
yum autoremove -y && \ |
| 34 |
yum clean all -y && \ |
| 35 |
rpm -qa | sort > /packages.txt && \ |
| 36 |
mkdir -p /usr/libexec/ccache-wrappers && \ |
| 37 |
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ |
| 38 |
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) |
| 39 |
|
| 40 |
RUN pip3 install \ |
| 41 |
meson==0.54.0 |
| 42 |
|
| 43 |
ENV LANG "en_US.UTF-8" |
| 44 |
ENV MAKE "/usr/bin/make" |
| 45 |
ENV NINJA "/usr/bin/ninja-build" |
| 46 |
ENV PYTHON "/usr/bin/python3" |
| 47 |
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" |