mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 06:32:57 +00:00
d92d7bcd70
Extend build coverage. The versions are different on all images and can be run as: $ ./docker-run --env CC=clang Signed-off-by: David Sterba <dsterba@suse.com>
36 lines
980 B
Docker
36 lines
980 B
Docker
FROM centos:8
|
|
|
|
WORKDIR /tmp
|
|
|
|
RUN rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
|
|
RUN yum -y install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
|
|
RUN yum -y install epel-release
|
|
|
|
RUN yum -y install autoconf automake pkg-config
|
|
RUN yum -y install libattr-devel libblkid-devel libuuid-devel
|
|
RUN yum -y install e2fsprogs-libs e2fsprogs-devel reiserfs-utils
|
|
RUN yum -y install zlib-devel lzo-devel libzstd-devel zstd
|
|
RUN yum -y install make gcc tar gzip clang
|
|
RUN yum -y install python3 python3-devel python3-setuptools
|
|
|
|
# For downloading fresh sources
|
|
RUN yum -y install wget
|
|
|
|
# For running tests
|
|
RUN yum -y install util-linux e2fsprogs findutils grep
|
|
RUN yum -y install udev device-mapper acl attr xz
|
|
|
|
# For debugging
|
|
RUN yum -y install less vim
|
|
|
|
COPY ./test-build .
|
|
COPY ./run-tests .
|
|
COPY ./devel.tar.gz .
|
|
|
|
CMD ./test-build devel --disable-documentation --disable-zoned
|
|
|
|
# Continue with:
|
|
# cd /tmp
|
|
# (see CMD above)
|
|
# ./run-tests /tmp/btrfs-progs-devel
|