29 lines
813 B
Docker
29 lines
813 B
Docker
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 -qy upgrade \
|
|
&& apt-get -qy dist-upgrade \
|
|
&& apt-get -qy install --no-install-recommends \
|
|
build-essential \
|
|
dpkg-dev \
|
|
fakeroot \
|
|
git \
|
|
git-buildpackage \
|
|
pristine-tar \
|
|
&& apt-get -qy autoremove --purge \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY test /
|
|
|
|
COPY gitlab-ci-git-buildpackage /
|
|
|