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,114 +1,137 @@
|
|||||||
|
# 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
|
FROM registry.opensuse.org/opensuse/leap:15.2
|
||||||
|
|
||||||
# Please keep this list sorted alphabetically
|
RUN zypper update -y && \
|
||||||
ENV PACKAGES \
|
zypper install -y \
|
||||||
Mesa-devel \
|
Mesa-devel \
|
||||||
alsa-lib-devel \
|
alsa-lib-devel \
|
||||||
bc \
|
bash \
|
||||||
brlapi-devel \
|
bc \
|
||||||
bzip2 \
|
brlapi-devel \
|
||||||
ca-certificates \
|
bzip2 \
|
||||||
ccache \
|
ca-certificates \
|
||||||
clang \
|
ccache \
|
||||||
ctags \
|
clang \
|
||||||
cyrus-sasl-devel \
|
ctags \
|
||||||
dbus-1 \
|
cyrus-sasl-devel \
|
||||||
diffutils \
|
dbus-1 \
|
||||||
findutils \
|
diffutils \
|
||||||
gcc \
|
findutils \
|
||||||
gcc-c++ \
|
gcc \
|
||||||
gcovr \
|
gcc-c++ \
|
||||||
gettext-runtime \
|
gcovr \
|
||||||
git \
|
gettext-runtime \
|
||||||
glib2-devel \
|
git \
|
||||||
glibc-locale \
|
glib2-devel \
|
||||||
glibc-static \
|
glibc-locale \
|
||||||
glusterfs-devel \
|
glibc-static \
|
||||||
gtk3-devel \
|
glusterfs-devel \
|
||||||
hostname \
|
gtk3-devel \
|
||||||
jemalloc-devel \
|
hostname \
|
||||||
libSDL2-devel \
|
jemalloc-devel \
|
||||||
libSDL2_image-devel \
|
libSDL2-devel \
|
||||||
libaio-devel \
|
libSDL2_image-devel \
|
||||||
libasan6 \
|
libaio-devel \
|
||||||
libattr-devel \
|
libasan6 \
|
||||||
libbpf-devel \
|
libattr-devel \
|
||||||
libbz2-devel \
|
libbpf-devel \
|
||||||
libcacard-devel \
|
libbz2-devel \
|
||||||
libcap-ng-devel \
|
libcacard-devel \
|
||||||
libcurl-devel \
|
libcap-ng-devel \
|
||||||
libdrm-devel \
|
libcurl-devel \
|
||||||
libepoxy-devel \
|
libdrm-devel \
|
||||||
libfdt-devel \
|
libepoxy-devel \
|
||||||
libffi-devel \
|
libfdt-devel \
|
||||||
libgcrypt-devel \
|
libffi-devel \
|
||||||
libgnutls-devel \
|
libgcrypt-devel \
|
||||||
libiscsi-devel \
|
libgnutls-devel \
|
||||||
libjpeg8-devel \
|
libiscsi-devel \
|
||||||
libndctl-devel \
|
libjpeg8-devel \
|
||||||
libnettle-devel \
|
libndctl-devel \
|
||||||
libnfs-devel \
|
libnettle-devel \
|
||||||
libnuma-devel \
|
libnfs-devel \
|
||||||
libpixman-1-0-devel \
|
libnuma-devel \
|
||||||
libpmem-devel \
|
libpixman-1-0-devel \
|
||||||
libpng16-devel \
|
libpmem-devel \
|
||||||
libpulse-devel \
|
libpng16-devel \
|
||||||
librbd-devel \
|
libpulse-devel \
|
||||||
libseccomp-devel \
|
librbd-devel \
|
||||||
libselinux-devel \
|
libseccomp-devel \
|
||||||
libspice-server-devel \
|
libselinux-devel \
|
||||||
libssh-devel \
|
libspice-server-devel \
|
||||||
libtasn1-devel \
|
libssh-devel \
|
||||||
libubsan1 \
|
libtasn1-devel \
|
||||||
libudev-devel \
|
libubsan1 \
|
||||||
libusb-1_0-devel \
|
libudev-devel \
|
||||||
libxml2-devel \
|
liburing-devel \
|
||||||
libzstd-devel \
|
libusb-1_0-devel \
|
||||||
llvm \
|
libxml2-devel \
|
||||||
lttng-ust-devel \
|
libzstd-devel \
|
||||||
lzo-devel \
|
llvm \
|
||||||
make \
|
lttng-ust-devel \
|
||||||
mkisofs \
|
lzo-devel \
|
||||||
ncat \
|
make \
|
||||||
ncurses-devel \
|
mkisofs \
|
||||||
ninja \
|
ncat \
|
||||||
openssh \
|
ncurses-devel \
|
||||||
pam-devel \
|
ninja \
|
||||||
perl-Test-Harness \
|
openssh \
|
||||||
perl-base \
|
pam-devel \
|
||||||
pkgconfig \
|
pcre-devel-static \
|
||||||
python3-Pillow \
|
perl-Test-Harness \
|
||||||
python3-PyYAML \
|
perl-base \
|
||||||
python3-Sphinx \
|
pkgconfig \
|
||||||
python3-base \
|
python3-Pillow \
|
||||||
python3-numpy \
|
python3-PyYAML \
|
||||||
python3-opencv \
|
python3-Sphinx \
|
||||||
python3-pip \
|
python3-base \
|
||||||
python3-setuptools \
|
python3-numpy \
|
||||||
python3-sphinx_rtd_theme \
|
python3-opencv \
|
||||||
python3-virtualenv \
|
python3-pip \
|
||||||
python3-wheel \
|
python3-setuptools \
|
||||||
rdma-core-devel \
|
python3-sphinx_rtd_theme \
|
||||||
rpm \
|
python3-virtualenv \
|
||||||
sed \
|
python3-wheel \
|
||||||
snappy-devel \
|
rdma-core-devel \
|
||||||
sparse \
|
rpm \
|
||||||
spice-protocol-devel \
|
sed \
|
||||||
systemd-devel \
|
snappy-devel \
|
||||||
systemtap-sdt-devel \
|
sparse \
|
||||||
tar \
|
spice-protocol-devel \
|
||||||
tesseract-ocr \
|
systemd-devel \
|
||||||
tesseract-ocr-traineddata-english \
|
systemtap-sdt-devel \
|
||||||
texinfo \
|
tar \
|
||||||
usbredir-devel \
|
tesseract-ocr \
|
||||||
util-linux \
|
tesseract-ocr-traineddata-english \
|
||||||
virglrenderer-devel \
|
texinfo \
|
||||||
vte-devel \
|
usbredir-devel \
|
||||||
which \
|
util-linux \
|
||||||
xen-devel \
|
virglrenderer-devel \
|
||||||
xfsprogs-devel \
|
vte-devel \
|
||||||
zlib-devel
|
which \
|
||||||
ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.6
|
xen-devel \
|
||||||
|
xfsprogs-devel \
|
||||||
|
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 pip3 install \
|
||||||
RUN rpm -q $PACKAGES | sort > /packages.txt
|
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))
|
trailer="".join(ubuntu1804_skipssh))
|
||||||
generate_dockerfile("ubuntu2004", "ubuntu-2004",
|
generate_dockerfile("ubuntu2004", "ubuntu-2004",
|
||||||
trailer="".join(ubuntu2004_tsanhack))
|
trailer="".join(ubuntu2004_tsanhack))
|
||||||
|
generate_dockerfile("opensuse-leap", "opensuse-leap-152")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
print(str(ex), file=sys.stderr)
|
print(str(ex), file=sys.stderr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user