docker-debian-python-deb/Dockerfile.common

16 lines
1 KiB
Text
Raw Normal View History

2024-06-27 11:37:53 +02:00
ENV PYTHON_APT_PACKAGES="python3-all python3-dev python3-pip python3-venv python3-apt python3-appdirs python3-wheel python3-git python3-setuptools"
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 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"
2023-07-19 18:23:08 +02:00
2023-07-31 23:44:40 +02:00
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 && \
apt-get -o APT::Get::AllowUnauthenticated=true install --yes zionetrix-archive-keyring && \
apt-get update && \
apt-get install --no-install-recommends -y $APT_PACKAGES && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
apt-file update