Build debs with pbuilder (#18165)

* Build debs with pbuilder
* Update README in packaging/debian
* Add Dockerfile for building debs
* Add local_deb makefile target - Allows users to build debs using locally installed dependencies. This was the `deb` target before moving to pbuilder.
This commit is contained in:
Shane McDonald
2016-10-26 17:24:15 -04:00
committed by Matt Clay
parent 4c9ded9cb7
commit 4ae0d5b843
5 changed files with 65 additions and 17 deletions

View File

@@ -0,0 +1,16 @@
FROM ubuntu:xenial
RUN apt-get update && apt-get install -y \
asciidoc \
cdbs \
debootstrap \
devscripts \
make \
pbuilder \
python-setuptools
VOLUME /ansible
WORKDIR /ansible
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["make deb"]