summaryrefslogtreecommitdiff
path: root/ci/containers/opensuse-leap-15.Dockerfile
diff options
context:
space:
mode:
authorErik Skultety <eskultet@redhat.com>2023-05-03 08:56:31 +0200
committerErik Skultety <eskultet@redhat.com>2023-05-03 09:09:53 +0200
commitf3092b0448c880bb4547e1b7785bec186837dd84 (patch)
tree164cad3311edb06221f60ce6d91f581468af8cd5 /ci/containers/opensuse-leap-15.Dockerfile
parentd6d49294629fc4d162d75e7a75da94f71d437639 (diff)
downloadlibvirt-python-f3092b0448c880bb4547e1b7785bec186837dd84.tar.gz
ci: Replace OpenSUSE Leap 15.4 target with Leap 15 name
We now refer to the latest Leap 15.X simply as Leap 15 in lcitool. Signed-off-by: Erik Skultety <eskultet@redhat.com>
Diffstat (limited to 'ci/containers/opensuse-leap-15.Dockerfile')
-rw-r--r--ci/containers/opensuse-leap-15.Dockerfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/ci/containers/opensuse-leap-15.Dockerfile b/ci/containers/opensuse-leap-15.Dockerfile
new file mode 100644
index 0000000..2a67aab
--- /dev/null
+++ b/ci/containers/opensuse-leap-15.Dockerfile
@@ -0,0 +1,33 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool manifest ci/manifest.yml
+#
+# https://gitlab.com/libvirt/libvirt-ci
+
+FROM registry.opensuse.org/opensuse/leap:15.4
+
+RUN zypper update -y && \
+ zypper install -y \
+ ca-certificates \
+ ccache \
+ gcc \
+ git \
+ glibc-locale \
+ libvirt-devel \
+ pkgconfig \
+ python3-base \
+ python3-devel \
+ python3-lxml \
+ python3-pip \
+ python3-pytest \
+ python3-setuptools \
+ rpm-build && \
+ zypper clean --all && \
+ 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 CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+ENV LANG "en_US.UTF-8"
+ENV PYTHON "/usr/bin/python3"