From 8493b606abfef2c76ed1c3c3fbaf122b38edd17b Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 8 Aug 2023 14:47:11 +0200 Subject: [PATCH] Add python3-appdirs, stdeb and poetry2setup --- Dockerfile.common | 8 ++++++-- README.md | 7 +++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Dockerfile.common b/Dockerfile.common index 12746ae..fdc9350 100644 --- a/Dockerfile.common +++ b/Dockerfile.common @@ -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 && \ diff --git a/README.md b/README.md index c2c74ef..c6e5cf2 100644 --- a/README.md +++ b/README.md @@ -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: