docker-debian-python-deb/Dockerfile.common

12 lines
791 B
Text
Raw Normal View History

2023-07-31 23:44:40 +02:00
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"
2023-07-19 18:23:08 +02:00
ENV PIP_PACKAGES="wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser"
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