From 03151df29c3c4fd7bb4ee241df0a4f7668714442 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 31 Jul 2023 23:44:40 +0200 Subject: [PATCH] Install gitdch using debian package --- Dockerfile.common | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile.common b/Dockerfile.common index ba10ae7..12746ae 100644 --- a/Dockerfile.common +++ b/Dockerfile.common @@ -1,5 +1,11 @@ -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" +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" ENV PIP_PACKAGES="wheel2deb pylint pytest flake8 flake8-junit-report pylint-junit junitparser" -RUN apt-get update && apt-get install --no-install-recommends -y $APT_PACKAGES && apt-get clean && rm -rf /var/lib/apt/lists/* && apt-file update -RUN git clone https://gitea.zionetrix.net/bn8/gitdch.git /usr/local/src/gitdch && ln -s /usr/local/src/gitdch/gitdch /usr/local/bin/gitdch +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