diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2021-05-25 11:07:09 +0100 |
|---|---|---|
| committer | Daniel P. Berrangé <berrange@redhat.com> | 2021-05-25 13:07:15 +0100 |
| commit | 27bc9111b0302f2be6c29ef01cf55d638406cd70 (patch) | |
| tree | b62da1b018382e6b56b8301c86240afd349f0398 /ci | |
| parent | 8a0504da79415e876592685fb75f2b5bcb425384 (diff) | |
| download | libvirt-python-27bc9111b0302f2be6c29ef01cf55d638406cd70.tar.gz | |
gitlab: add OpenSUSE Tumbleweed container and build
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/containers/ci-opensuse-tumbleweed.Dockerfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ci/containers/ci-opensuse-tumbleweed.Dockerfile b/ci/containers/ci-opensuse-tumbleweed.Dockerfile new file mode 100644 index 0000000..1007081 --- /dev/null +++ b/ci/containers/ci-opensuse-tumbleweed.Dockerfile @@ -0,0 +1,32 @@ +# THIS FILE WAS AUTO-GENERATED +# +# $ lcitool dockerfile opensuse-tumbleweed libvirt+dist,libvirt-python +# +# https://gitlab.com/libvirt/libvirt-ci/-/commit/1c5d87ecd2283614a8b0c31cead0b6d7883afd28 + +FROM registry.opensuse.org/opensuse/tumbleweed:latest + +RUN zypper update -y && \ + zypper install -y \ + ca-certificates \ + ccache \ + gcc \ + git \ + glibc-locale \ + libvirt-devel \ + pkgconfig \ + python3-base \ + python3-devel \ + python3-lxml \ + 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 LANG "en_US.UTF-8" +ENV PYTHON "/usr/bin/python3" +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" |
