mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-13 01:46:14 +00:00
adeeb80dfe
The support for zoned mode is incomplete and won't change so we can disable it on Leap 15.2 and Centos 8. Signed-off-by: David Sterba <dsterba@suse.com>
33 lines
1.1 KiB
Docker
33 lines
1.1 KiB
Docker
FROM opensuse/leap:15.2
|
|
|
|
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
|
|
RUN zypper install -y --no-recommends python3 python3-devel python3-setuptools
|
|
|
|
# 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
|
|
|
|
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
|