1FROM ghcr.io/woodard/libabigail-fedora-base 2 3# docker build -f docker/Dockerfile.test -t test . 4 5RUN dnf install -y \ 6 file \ 7 diffutils \ 8 lbzip2 \ 9 elfutils-libs 10 11WORKDIR /code 12COPY . /code 13 14RUN mkdir -p build && \ 15 autoreconf -i && \ 16 cd build && \ 17 CXXFLAGS="-g3 -fvar-tracking-assignments \ 18 -gstatement-frontiers -gvariable-location-views -grecord-gcc-switches -pipe -Wall \ 19 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wp,-D_GLIBCXX_ASSERTIONS \ 20 -fstack-protector-strong -fstack-clash-protection -fcf-protection \ 21 -fasynchronous-unwind-tables -O2" CFLAGS="-g3 -fvar-tracking-assignments \ 22 -gstatement-frontiers -gvariable-location-views -grecord-gcc-switches -pipe -Wall \ 23 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -Wp,-D_GLIBCXX_ASSERTIONS \ 24 -fstack-protector-strong -fstack-clash-protection -fcf-protection \ 25 -fasynchronous-unwind-tables -O2" LDFLAGS="-Wl,--no-undefined" \ 26 ../configure --prefix=/opt/libabigail --enable-rpm=yes && \ 27 make -j4 && \ 28 make check ENABLE_SLOW_TEST=yes || (cat tests/test-suite.log && exit 1) 29