summaryrefslogtreecommitdiff
path: root/ci/containers/ci-opensuse-151.Dockerfile
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2020-12-01 16:18:15 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2020-12-01 16:52:33 +0000
commit0b10d9cba8e6d0344b5d92d4803484a2869d9e95 (patch)
treeef4dcc6fb79108cd05d37415c104c670306f5a19 /ci/containers/ci-opensuse-151.Dockerfile
parentd91aadf443fea72cb2297958843992a83f62757a (diff)
downloadlibvirt-python-0b10d9cba8e6d0344b5d92d4803484a2869d9e95.tar.gz
gitlab: replace "libvirt-" prefix with "ci-" in dockerfiles
This makes the dockerfile name match the output container name Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'ci/containers/ci-opensuse-151.Dockerfile')
-rw-r--r--ci/containers/ci-opensuse-151.Dockerfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/ci/containers/ci-opensuse-151.Dockerfile b/ci/containers/ci-opensuse-151.Dockerfile
new file mode 100644
index 0000000..ff52c92
--- /dev/null
+++ b/ci/containers/ci-opensuse-151.Dockerfile
@@ -0,0 +1,25 @@
+FROM registry.opensuse.org/opensuse/leap:15.1
+
+RUN zypper update -y && \
+ zypper install -y \
+ ca-certificates \
+ ccache \
+ gcc \
+ git \
+ glibc-locale \
+ libvirt-devel \
+ pkgconfig \
+ python3 \
+ python3-devel \
+ python3-lxml \
+ python3-nose \
+ python3-setuptools \
+ rpm-build && \
+ zypper clean --all && \
+ 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)
+
+ENV LANG "en_US.UTF-8"
+ENV PYTHON "/usr/bin/python3"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"