From 0ba1127410f3c00aff85d7620edf5f9ea5cddf36 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 7 Nov 2022 20:21:22 +0100 Subject: [PATCH] Update image and add some usefull/common tools & libs --- Dockerfile | 10 ++++++---- README.md | 5 +++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index ee38f15..2ea1ee4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM debian:latest -RUN apt update -RUN apt upgrade -y -RUN apt install -y 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 +RUN apt-get update +RUN apt-get upgrade -y +RUN apt-get install -y 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 RUN apt-file update -RUN python3 -m pip install wheel2deb +RUN python3 -m pip install wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser +RUN git clone https://gitea.zionetrix.net/bn8/gitdch.git /usr/local/src/gitdch +RUN ln -s /usr/local/src/gitdch/gitdch /usr/local/bin/gitdch diff --git a/README.md b/README.md index c613ee2..3004fcc 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,11 @@ Image with common dependencies to build Debian package of Python apps/libraries : -- common python packages: `python3-all python3-dev python3-pip python3-venv python3-wheel` +- common python packages: `python3-all python3-dev python3-pip python3-venv python3-git python3-wheel pylint pytest flake8 flake8-junit-report pylint-junit junitparser` - common Debian packages building tools: `dpkg-dev fakeroot build-essential devscripts debhelper dh-python` -- common tools: `sed lsb-release` +- common tools: `sed lsb-release curl jq git rsync` - GPG siging tools: `gnupg2` +- [gitdch](https://gitea.zionetrix.net/bn8/gitdch) tool To use it: