From: Don Armstrong Date: Mon, 19 Mar 2018 05:02:38 +0000 (-0700) Subject: pull libtest-postgresql-perl from unstable for docker image X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=10ceb49ed935921f49c1e74d10a83e46da7913d5 pull libtest-postgresql-perl from unstable for docker image --- diff --git a/.travis/Dockerfile b/.travis/Dockerfile index cc825f6..36c94d5 100644 --- a/.travis/Dockerfile +++ b/.travis/Dockerfile @@ -6,6 +6,16 @@ RUN apt-get -qq update; \ COPY debian/control debian/control COPY debian/changelog debian/changelog RUN dch -r -m ''; +RUN echo 'deb http://deb.debian.org/debian/ sid main' \ + > /etc/apt/sources.list.d/sid.list +RUN echo 'deb http://deb.debian.org/debian/ stretch-backports main' \ + > /etc/apt/sources.list.d/stretchbackports.list +RUN echo '\nPackage: libtest-postgresql-perl\nPin: release a=unstable\nPin-Priority: 500\n\n'\ + > /etc/apt/preferences +RUN echo '\nPackage: *\nPin: release a=unstable\nPin-Priority: 1\n\n'\ + >> /etc/apt/preferences +RUN echo '\nPackage: *\nPin: release a=stretch-backports\nPin-Priority: 500\n\n'\ + >> /etc/apt/preferences RUN apt-get -qq update && \ mk-build-deps --install \ --tool 'apt-get -y -o Debug:pkgProblemResolver=yes --no-install-recommends' \