Fix Debian autotest to use meson and libzstd in backports
authorJonathan Dieter <jdieter@gmail.com>
Thu, 2 Aug 2018 13:29:05 +0000 (14:29 +0100)
committerJonathan Dieter <jdieter@gmail.com>
Thu, 2 Aug 2018 13:29:05 +0000 (14:29 +0100)
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
autotest/debian-latest/Dockerfile

index 02a4adba7acc58c2b977b3114f8f1b2eabb597b1..149a9d97b42d2a5bc860f8553cb5efd5f4e4c887 100644 (file)
@@ -1,7 +1,10 @@
 FROM debian:latest
 ADD ./ /code
 WORKDIR /code
+RUN /bin/bash -c 'echo deb http://ftp.debian.org/debian stretch-backports main >> /etc/apt/sources.list'
 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 cat /etc/apt/sources.list
+RUN /bin/bash -c 'export DEBIAN_FRONTEND=noninteractive; apt-get -yqt stretch-backports install meson libzstd-dev'
+RUN /bin/bash -c 'export DEBIAN_FRONTEND=noninteractive; apt-get -yq install gcc pkg-config libcurl4-openssl-dev libssl-dev'
 RUN meson build
 RUN ninja -C build test