ansible/packaging/debian/Dockerfile
Shane McDonald dfad25bd38 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.

(cherry picked from commit 4ae0d5b843)
2016-11-10 14:29:54 -08:00

16 lines
255 B
Docker

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"]