summaryrefslogtreecommitdiff
path: root/ci/containers/ci-centos-stream-8.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ci/containers/ci-centos-stream-8.Dockerfile')
-rw-r--r--ci/containers/ci-centos-stream-8.Dockerfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/ci/containers/ci-centos-stream-8.Dockerfile b/ci/containers/ci-centos-stream-8.Dockerfile
new file mode 100644
index 0000000..912823c
--- /dev/null
+++ b/ci/containers/ci-centos-stream-8.Dockerfile
@@ -0,0 +1,39 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile centos-stream libvirt+dist,libvirt-python
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/12ad4d56d2d3a3c77ae957b2a49d34758fb3e614
+
+FROM docker.io/library/centos:8
+
+RUN dnf install -y centos-release-stream && \
+ dnf install -y centos-stream-release && \
+ dnf update -y && \
+ dnf install 'dnf-command(config-manager)' -y && \
+ dnf config-manager --set-enabled -y powertools && \
+ dnf install -y centos-release-advanced-virtualization && \
+ dnf install -y epel-release && \
+ dnf install -y \
+ ca-certificates \
+ ccache \
+ gcc \
+ git \
+ glibc-langpack-en \
+ libvirt-devel \
+ pkgconfig \
+ python3 \
+ python3-devel \
+ python3-lxml \
+ python3-pytest \
+ python3-setuptools \
+ rpm-build && \
+ dnf autoremove -y && \
+ dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ 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/gcc
+
+ENV LANG "en_US.UTF-8"
+ENV PYTHON "/usr/bin/python3"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"