Fix Debian packaging Dockerfile and docs.

This commit is contained in:
Matt Clay 2017-10-13 12:54:37 -07:00
parent 297dfb1d50
commit 614a53734c
2 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,11 @@ RUN apt-get update && apt-get install -y \
devscripts \
make \
pbuilder \
python-setuptools
python-jinja2 \
python-setuptools \
python-yaml \
&& \
apt-get clean
VOLUME /ansible
WORKDIR /ansible

View file

@ -9,7 +9,6 @@ __Note__: You must run this target as root or set `PBUILDER_BIN='sudo pbuilder'`
apt-get install asciidoc cdbs debootstrap devscripts make pbuilder python-setuptools
git clone https://github.com/ansible/ansible.git
cd ansible
git submodule update --init
DEB_DIST='xenial trusty precise' make deb
```
@ -18,7 +17,6 @@ Building in Docker:
```
git clone https://github.com/ansible/ansible.git
cd ansible
git submodule update --init
docker build -t ansible-deb-builder -f packaging/debian/Dockerfile .
docker run --privileged -e DEB_DIST='trusty' -v $(pwd):/ansible ansible-deb-builder
```