Add the Dockerfile to build the docker brenard/mylib:latest image

This commit is contained in:
Benjamin Renard 2023-01-03 00:21:44 +01:00
parent cb4b8d6974
commit a1118cc40a
1 changed files with 7 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM debian:latest
RUN echo "deb http://debian.zionetrix.net stable main" > /etc/apt/sources.list.d/zionetrix.list
RUN apt-get -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true update
RUN apt-get -o APT::Get::AllowUnauthenticated=true install --yes zionetrix-archive-keyring
RUN apt-get update
RUN apt-get install -y python3-all python3-dev python3-pip python3-venv python3-mylib build-essential git
RUN python3 -m pip install pylint pytest flake8 flake8-junit-report pylint-junit junitparser