First release
This commit is contained in:
commit
50d73b4ace
3 changed files with 21 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*~
|
6
Dockerfile
Normal file
6
Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
FROM debian:latest
|
||||||
|
RUN apt update
|
||||||
|
RUN apt upgrade -y
|
||||||
|
RUN apt install -y python3-all python3-dev python3-pip python3-venv python3-apt apt-file dpkg-dev fakeroot build-essential devscripts debhelper dh-python python3-wheel sed lsb-release gnupg2
|
||||||
|
RUN apt-file update
|
||||||
|
RUN python3 -m pip install wheel2deb
|
14
README.md
Normal file
14
README.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Docker image to build Debian package of Python apps/libraries
|
||||||
|
|
||||||
|
Image with common dependencies to build Debian package of Python apps/libraries :
|
||||||
|
|
||||||
|
- common python packages: `python3-all python3-dev python3-pip python3-venv python3-wheel`
|
||||||
|
- common Debian packages building tools: `dpkg-dev fakeroot build-essential devscripts debhelper dh-python`
|
||||||
|
- common tools: `sed lsb-release`
|
||||||
|
- GPG siging tools: `gnupg2`
|
||||||
|
|
||||||
|
To use it:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run -it -v "$(pwd)":/src -w /src brenard/debian-python-deb
|
||||||
|
```
|
Loading…
Reference in a new issue