btrfs-progs/ci/images/ci-openSUSE-Leap-15.3-x86_64/Dockerfile
Josef Bacik 8c2e4578cd btrfs-progs: ci: add dwarves to the package list for docker images
We run pahole for the ioctl-test, which requires the dwarves package.
Add that to the docker images.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-10-03 01:11:56 +02:00

35 lines
1.2 KiB
Docker

FROM opensuse/leap:15.3
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 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