btrfs-progs/ci/images/ci-openSUSE-Leap-15.6-x86_64/Dockerfile
David Sterba 859d78e5a7 btrfs-progs: ci: move Leap image to 15.6
The support of Leap 15.4 has ended, not much point to test build there
so move it to 15.6 (upper bound). The lower bound is still 15.3 to catch
potential backward compatibility problems.

The hub image exists (https://hub.docker.com/r/kdave/ci-opensuse-leap-15.6-x86_64).

Signed-off-by: David Sterba <dsterba@suse.com>
2024-06-24 19:18:03 +02:00

35 lines
1.2 KiB
Docker

FROM opensuse/leap:15.6
WORKDIR /tmp
RUN zypper install -y --no-recommends autoconf automake pkg-config
RUN zypper install -y --no-recommends libattr-devel libblkid-devel libuuid-devel
RUN zypper install -y --no-recommends libext2fs-devel libreiserfscore-devel
RUN zypper install -y --no-recommends zlib-devel lzo-devel libzstd-devel
RUN zypper install -y --no-recommends make gcc tar gzip clang dwarves
RUN zypper install -y --no-recommends python3 python3-devel python3-setuptools
RUN zypper install -y --no-recommends libudev-devel
# For downloading fresh sources
RUN zypper install -y --no-recommends wget
# For running tests
RUN zypper install -y --no-recommends coreutils util-linux e2fsprogs findutils grep
RUN zypper install -y --no-recommends udev device-mapper acl attr xz
# For debugging
RUN zypper install -y --no-recommends less vim
RUN zypper install -y --no-recommends libgcrypt-devel libsodium-devel
COPY ./test-build .
COPY ./run-tests .
COPY ./devel.tar.gz .
# The blkzoned.h exists but blk_zone.capacity is missing, disable zoned mode explicitly
CMD ./test-build devel --disable-documentation --disable-zoned
# Continue with:
# cd /tmp
# (see CMD above)
# ./run-tests /tmp/btrfs-progs-devel