summaryrefslogtreecommitdiff
path: root/ci/containers/libvirt-centos-8.Dockerfile
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2020-11-23 17:57:08 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2020-12-01 16:17:35 +0000
commit2110591acfd3a30870f70c2256229e49a4bcd9ee (patch)
treecde74bfc6d28de1ee47abd5e1bae199badd7b25f /ci/containers/libvirt-centos-8.Dockerfile
parentf49e204c282f6ea7a8c709950f00621f4c404598 (diff)
downloadlibvirt-python-2110591acfd3a30870f70c2256229e49a4bcd9ee.tar.gz
gitlab: move dockerfiles into ci/containers sub-directory
This brings the repo into alignment with the main libvirt.git practice. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'ci/containers/libvirt-centos-8.Dockerfile')
-rw-r--r--ci/containers/libvirt-centos-8.Dockerfile69
1 files changed, 69 insertions, 0 deletions
diff --git a/ci/containers/libvirt-centos-8.Dockerfile b/ci/containers/libvirt-centos-8.Dockerfile
new file mode 100644
index 0000000..8715f4e
--- /dev/null
+++ b/ci/containers/libvirt-centos-8.Dockerfile
@@ -0,0 +1,69 @@
+FROM centos:8
+
+RUN dnf install 'dnf-command(config-manager)' -y && \
+ dnf config-manager --set-enabled -y PowerTools && \
+ dnf install -y epel-release && \
+ dnf update -y && \
+ dnf install -y \
+ autoconf \
+ automake \
+ bash \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ chrony \
+ gcc \
+ gdb \
+ gettext \
+ gettext-devel \
+ git \
+ glib2-devel \
+ glibc-devel \
+ glibc-langpack-en \
+ gnutls-devel \
+ libnl3-devel \
+ libtirpc-devel \
+ libtool \
+ libvirt-devel \
+ libxml2 \
+ libxml2-devel \
+ libxslt \
+ lsof \
+ make \
+ net-tools \
+ ninja-build \
+ patch \
+ perl \
+ perl-App-cpanminus \
+ pkgconfig \
+ python3 \
+ python3-devel \
+ python3-docutils \
+ python3-lxml \
+ python3-nose \
+ python3-pip \
+ python3-setuptools \
+ python3-wheel \
+ rpcgen \
+ rpm-build \
+ screen \
+ strace \
+ sudo \
+ vim \
+ xz && \
+ dnf autoremove -y && \
+ dnf clean all -y && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+RUN pip3 install \
+ meson==0.54.0
+
+ENV LANG "en_US.UTF-8"
+
+ENV MAKE "/usr/bin/make"
+ENV NINJA "/usr/bin/ninja"
+ENV PYTHON "/usr/bin/python3"
+
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"