]> git.donarmstrong.com Git - debbugs.git/blobdiff - .travis/Dockerfile
Update for testing in buster environment (use pq-11-debversion)
[debbugs.git] / .travis / Dockerfile
index e4bfa9538be6c769a801d5f8ae2348a599e7400c..9324d155b269e2c654df67f46c75b1dbda0fd888 100644 (file)
@@ -5,11 +5,14 @@ RUN apt-get -qq update; \
  apt-get clean;
 COPY debian/control debian/control
 COPY debian/changelog debian/changelog
+# finalize debian changelog
 RUN dch -r -m '';
-RUN apt-get -qq update; \
+# 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' \
- debian/control; \
- rm -rf /var/lib/apt/lists/*; \
+ debian/control && \
+ rm -rf /var/lib/apt/lists/* && \
  apt-get clean;
 COPY . debbugs
\ No newline at end of file