tests/docker: auto-generate opensuse-leap.docker with lcitool
This commit is best examined using the "-b" option to diff. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20211215141949.3512719-13-berrange@redhat.com> Message-Id: <20220105135009.1584676-13-alex.bennee@linaro.org>
This commit is contained in:
parent
bb317c3258
commit
122198393d
@ -1,9 +1,16 @@
|
||||
# THIS FILE WAS AUTO-GENERATED
|
||||
#
|
||||
# $ lcitool dockerfile opensuse-leap-152 qemu
|
||||
#
|
||||
# https://gitlab.com/libvirt/libvirt-ci
|
||||
|
||||
FROM registry.opensuse.org/opensuse/leap:15.2
|
||||
|
||||
# Please keep this list sorted alphabetically
|
||||
ENV PACKAGES \
|
||||
RUN zypper update -y && \
|
||||
zypper install -y \
|
||||
Mesa-devel \
|
||||
alsa-lib-devel \
|
||||
bash \
|
||||
bc \
|
||||
brlapi-devel \
|
||||
bzip2 \
|
||||
@ -61,6 +68,7 @@ ENV PACKAGES \
|
||||
libtasn1-devel \
|
||||
libubsan1 \
|
||||
libudev-devel \
|
||||
liburing-devel \
|
||||
libusb-1_0-devel \
|
||||
libxml2-devel \
|
||||
libzstd-devel \
|
||||
@ -74,6 +82,7 @@ ENV PACKAGES \
|
||||
ninja \
|
||||
openssh \
|
||||
pam-devel \
|
||||
pcre-devel-static \
|
||||
perl-Test-Harness \
|
||||
perl-base \
|
||||
pkgconfig \
|
||||
@ -107,8 +116,22 @@ ENV PACKAGES \
|
||||
which \
|
||||
xen-devel \
|
||||
xfsprogs-devel \
|
||||
zlib-devel
|
||||
ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.6
|
||||
zlib-devel \
|
||||
zlib-devel-static && \
|
||||
zypper clean --all && \
|
||||
rpm -qa | sort > /packages.txt && \
|
||||
mkdir -p /usr/libexec/ccache-wrappers && \
|
||||
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
|
||||
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
|
||||
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
|
||||
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
|
||||
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
|
||||
|
||||
RUN zypper update -y && zypper --non-interactive install -y $PACKAGES
|
||||
RUN rpm -q $PACKAGES | sort > /packages.txt
|
||||
RUN pip3 install \
|
||||
meson==0.56.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"
|
||||
|
@ -78,6 +78,7 @@ try:
|
||||
trailer="".join(ubuntu1804_skipssh))
|
||||
generate_dockerfile("ubuntu2004", "ubuntu-2004",
|
||||
trailer="".join(ubuntu2004_tsanhack))
|
||||
generate_dockerfile("opensuse-leap", "opensuse-leap-152")
|
||||
sys.exit(0)
|
||||
except Exception as ex:
|
||||
print(str(ex), file=sys.stderr)
|
||||
|
Loading…
Reference in New Issue
Block a user