Fix debian10 image and add equivs, wget and ca-certificates deb packages

This commit is contained in:
Benjamin Renard 2024-02-29 12:52:25 +01:00
parent aa80874ffe
commit 315924a4db
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC
3 changed files with 14 additions and 6 deletions

View file

@ -1,6 +1,6 @@
ENV PYTHON_APT_PACKAGES="python3-all python3-dev python3-pip python3-venv python3-apt python3-appdirs python3-wheel python3-git" 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 DEB_APT_PACKAGES="apt-file dpkg-dev fakeroot build-essential devscripts debhelper dh-python equivs"
ENV TOOLS_APT_PACKAGES="sed lsb-release gnupg2 curl jq git rsync gitdch" ENV TOOLS_APT_PACKAGES="sed lsb-release gnupg2 curl jq git rsync gitdch wget ca-certificates"
ENV APT_PACKAGES="$PYTHON_APT_PACKAGES $DEB_APT_PACKAGES $TOOLS_APT_PACKAGES" 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 pylint-gitlab flake8-codeclimate" ENV PIP_PACKAGES="stdeb poetry2setup wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser pylint-gitlab flake8-codeclimate"

View file

@ -1 +0,0 @@
Dockerfile.debian11

8
Dockerfile.debian10 Normal file
View file

@ -0,0 +1,8 @@
# syntax = edrevo/dockerfile-plus
FROM debian:10
INCLUDE+ Dockerfile.common
RUN python3 -m pip install -U pip && \
python3 -m pip install $PIP_PACKAGES

View file

@ -2,9 +2,10 @@
Image with common dependencies 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-apt python3-appdirs python3-wheel python3-git` - common Debian 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 PIP installed python packages: `stdeb poetry2setup wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser pylint-gitlab flake8-codeclimate`
- common tools: `sed lsb-release gnupg2 curl jq git rsync` - common Debian packages building tools: `apt-file dpkg-dev fakeroot build-essential devscripts debhelper dh-python equivs`
- common tools: `sed lsb-release gnupg2 curl jq git rsync wget ca-certificates`
- [gitdch](https://gitea.zionetrix.net/bn8/gitdch) tool - [gitdch](https://gitea.zionetrix.net/bn8/gitdch) tool
To use it: To use it: