mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
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:
committed by
Matt Clay
parent
4c9ded9cb7
commit
4ae0d5b843
16
packaging/debian/Dockerfile
Normal file
16
packaging/debian/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user