Add python3-appdirs, stdeb and poetry2setup

This commit is contained in:
Benjamin Renard 2023-08-08 14:47:11 +02:00
parent 8efb745777
commit 8493b606ab
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC
2 changed files with 9 additions and 6 deletions

View file

@ -1,5 +1,9 @@
ENV APT_PACKAGES="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 curl jq git python3-git rsync gitdch"
ENV PIP_PACKAGES="wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser"
ENV PYTHON_APT_PACKAGES="python3-all python3-dev python3-pip python3-venv python3-apt python3-appdirs python3-wheel python3-git"
ENV DEB_APT_PACKAGES="apt-file dpkg-dev fakeroot build-essential devscripts debhelper dh-python"
ENV TOOLS_APT_PACKAGES="sed lsb-release gnupg2 curl jq git rsync gitdch"
ENV APT_PACKAGES="$PYTHON_APT_PACKAGES $DEB_APT_PACKAGES $TOOLS_APT_PACKAGES"
ENV PIP_PACKAGES="stdeb poetry2setup wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser"
RUN echo "deb http://debian.zionetrix.net stable main" > /etc/apt/sources.list.d/zionetrix.list && \
apt-get -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true update && \

View file

@ -2,10 +2,9 @@
Image with common dependencies to build Debian package of Python apps/libraries :
- common python packages: `python3-all python3-dev python3-pip python3-venv python3-git python3-wheel pylint pytest flake8 flake8-junit-report pylint-junit junitparser`
- common Debian packages building tools: `dpkg-dev fakeroot build-essential devscripts debhelper dh-python`
- common tools: `sed lsb-release curl jq git rsync`
- GPG siging tools: `gnupg2`
- common python packages: `python3-all python3-dev python3-pip python3-venv python3-apt python3-appdirs python3-wheel python3-git`
- common Debian packages building tools: `apt-file dpkg-dev fakeroot build-essential devscripts debhelper dh-python`
- common tools: `sed lsb-release gnupg2 curl jq git rsync`
- [gitdch](https://gitea.zionetrix.net/bn8/gitdch) tool
To use it: