X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.travis%2FDockerfile;h=c5fbffa5a4152d848b50ca1543efcdd300b52476;hb=36f8682540dc641db1f2d2a7fc7f84afc4ff59a0;hp=cc825f6b1723fa38d3be1c6c5ffed73cc79f3276;hpb=a5abf90ba78dfdb8290a63f489fe077573113c6d;p=debbugs.git diff --git a/.travis/Dockerfile b/.travis/Dockerfile index cc825f6..c5fbffa 100644 --- a/.travis/Dockerfile +++ b/.travis/Dockerfile @@ -6,6 +6,18 @@ 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 +# work around slim image interacting with missing documentation +RUN for a in $(seq 1 7); do mkdir -p /usr/share/man/man$a; done; RUN apt-get -qq update && \ mk-build-deps --install \ --tool 'apt-get -y -o Debug:pkgProblemResolver=yes --no-install-recommends' \