docker-debian-python-deb/Dockerfile.debian9

15 lines
507 B
Text
Raw Permalink Normal View History

2024-06-27 11:48:14 +02:00
# syntax = edrevo/dockerfile-plus
FROM debian:9
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
INCLUDE+ Dockerfile.common
RUN python3 -m pip install -U pip && \
python3 -m pip install $PIP_PACKAGES
RUN dpkg --purge gitdch && \
wget -O /usr/bin/gitdch https://gitea.zionetrix.net/bn8/gitdch/raw/tag/python35/gitdch && \
chmod 755 /usr/bin/gitdch