]> git.donarmstrong.com Git - debbugs.git/commitdiff
pull libtest-postgresql-perl from unstable for docker image
authorDon Armstrong <don@donarmstrong.com>
Mon, 19 Mar 2018 05:02:38 +0000 (22:02 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 19 Mar 2018 05:02:38 +0000 (22:02 -0700)
.travis/Dockerfile

index cc825f6b1723fa38d3be1c6c5ffed73cc79f3276..36c94d509b8e14f5ea0ec4967052ccf6dd66e6ff 100644 (file)
@@ -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' \