diff --git a/Dockerfile.common b/Dockerfile.common index fdecb9a..f7421be 100644 --- a/Dockerfile.common +++ b/Dockerfile.common @@ -1,6 +1,6 @@ -ENV PYTHON_APT_PACKAGES="python3-all python3-dev python3-pip python3-venv python3-apt python3-appdirs python3-wheel python3-git python3-setuptools" +ENV PYTHON_APT_PACKAGES="python3-all python3-dev python3-pip python3-venv python3-apt python3-appdirs python3-wheel python3-git python3-setuptools python3-argcomplete" 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 wget ca-certificates" +ENV TOOLS_APT_PACKAGES="sed lsb-release gnupg2 curl jq git rsync gitdch wget ca-certificates bash-completion" 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 flake8-codeclimate" @@ -14,3 +14,5 @@ RUN echo "deb http://debian.zionetrix.net stable main" > /etc/apt/sources.list.d apt-get clean && \ rm -rf /var/lib/apt/lists/* && \ apt-file update + +ENTRYPOINT /bin/bash diff --git a/README.md b/README.md index 85edf66..86b95cf 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,12 @@ Image with common dependencies to build Debian package of Python apps/libraries : - common Debian python packages: `python3-all python3-dev python3-pip python3-venv python3-apt python3-appdirs python3-wheel python3-git python3-setuptools` -- common PIP installed python packages: `stdeb poetry2setup wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser pylint-gitlab flake8-codeclimate`. Note: `pylint-gitlab` not available on Debian 9. +- common PIP installed python packages: `stdeb poetry2setup wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser pylint-gitlab flake8-codeclimate python3-argcomplete`. Note: `pylint-gitlab` not available on Debian 9. - 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` +- common tools: `sed lsb-release gnupg2 curl jq git rsync wget ca-certificates bash-completion` - [gitdch](https://gitea.zionetrix.net/bn8/gitdch) tool +- based on Debian _slim_ version of [Node](https://hub.docker.com/_/node) docker images to allow using it with Forgejo Actions. +- use `/bin/bash` as entrypoint To use it: