2024-06-13 02:05:14 +00:00
|
|
|
FROM opensuse/leap:15.6
|
2021-02-24 16:32:12 +00:00
|
|
|
|
|
|
|
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
|
2023-08-23 14:32:50 +00:00
|
|
|
RUN zypper install -y --no-recommends make gcc tar gzip clang dwarves
|
2021-02-24 16:32:12 +00:00
|
|
|
RUN zypper install -y --no-recommends python3 python3-devel python3-setuptools
|
2021-10-05 15:35:09 +00:00
|
|
|
RUN zypper install -y --no-recommends libudev-devel
|
2021-02-24 16:32:12 +00:00
|
|
|
|
|
|
|
# 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
|
2023-03-01 15:10:53 +00:00
|
|
|
RUN zypper install -y --no-recommends libgcrypt-devel libsodium-devel
|
2021-02-24 16:32:12 +00:00
|
|
|
|
|
|
|
COPY ./test-build .
|
|
|
|
COPY ./run-tests .
|
|
|
|
COPY ./devel.tar.gz .
|
|
|
|
|
2021-05-03 20:47:47 +00:00
|
|
|
# The blkzoned.h exists but blk_zone.capacity is missing, disable zoned mode explicitly
|
|
|
|
CMD ./test-build devel --disable-documentation --disable-zoned
|
2021-02-24 16:32:12 +00:00
|
|
|
|
|
|
|
# Continue with:
|
|
|
|
# cd /tmp
|
|
|
|
# (see CMD above)
|
|
|
|
# ./run-tests /tmp/btrfs-progs-devel
|