RUN yum -y install epel-release
RUN yum -y update epel-release
RUN yum -y install meson gcc "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)"
-RUN meson build
-RUN /bin/bash -c 'cd build; ninja-build'
-RUN /bin/bash -c 'cd build; ninja-build test'
+RUN meson build --auto-features=enabled
+RUN ninja-build -C build test
WORKDIR /code
RUN apt-get update
RUN /bin/bash -c 'export DEBIAN_FRONTEND=noninteractive; apt-get -yq install meson gcc pkg-config libzstd-dev libcurl4-openssl-dev libssl-dev'
-RUN meson build
-RUN /bin/bash -c 'cd build; ninja'
-RUN /bin/bash -c 'cd build; ninja test'
+RUN meson build --auto-features=enabled
+RUN ninja -C build test
ADD ./ /code
WORKDIR /code
RUN dnf -y install meson gcc "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)"
-RUN meson build
-RUN /bin/bash -c 'cd build; ninja'
-RUN /bin/bash -c 'cd build; ninja test'
+RUN meson build --auto-features=enabled
+RUN ninja -C build test
ADD ./ /code
WORKDIR /code
RUN zypper --non-interactive install meson gcc pkgconfig "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)"
-RUN meson build
-RUN /bin/bash -c 'cd build; ninja'
-RUN /bin/bash -c 'cd build; ninja test'
+RUN meson build --auto-features=enabled
+RUN ninja -C build test
WORKDIR /code
RUN apt-get update
RUN /bin/bash -c 'export DEBIAN_FRONTEND=noninteractive; apt-get -yq install meson gcc pkg-config libzstd-dev libcurl4-openssl-dev libssl-dev'
-RUN meson build
-RUN /bin/bash -c 'cd build; ninja'
-RUN /bin/bash -c 'cd build; ninja test'
+RUN meson build --auto-features
+RUN ninja -C build test