from debian:testing-slim MAINTAINER hans@eds.org ENV LANG=C.UTF-8 \ DEBIAN_FRONTEND=noninteractive # install the minimum needed for a standard git-buildpackage build # that includes pristine-tar. This also does not install # documentation to keep the image small. RUN printf "path-exclude=/usr/share/locale/*\npath-exclude=/usr/share/man/*\npath-exclude=/usr/share/doc/*\npath-include=/usr/share/doc/*/copyright\n" >/etc/dpkg/dpkg.cfg.d/01_nodoc \ && apt-get update \ && apt-get -y upgrade \ && apt-get -y dist-upgrade \ && apt-get install -y --no-install-recommends \ build-essential \ dpkg-dev \ fakeroot \ git \ git-buildpackage \ pristine-tar \ && apt-get -y autoremove --purge \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* COPY test / COPY gitlab-ci-git-buildpackage /