1 FROM debian:stable-slim
2 RUN apt-get -qq update; \
3 apt-get install --no-install-recommends -y devscripts equivs; \
4 rm -rf /var/lib/apt/lists/*; \
6 COPY debian/control debian/control
7 COPY debian/changelog debian/changelog
8 # finalize debian changelog
10 # work around slim image interacting with missing documentation
11 RUN for a in $(seq 1 7); do mkdir -p /usr/share/man/man$a; done;
12 RUN apt-get -qq update && \
13 mk-build-deps --install \
14 --tool 'apt-get -y -o Debug:pkgProblemResolver=yes --no-install-recommends' \
16 rm -rf /var/lib/apt/lists/* && \