From c2f9429e25b381db532e59eb154f9133348000ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20P=C3=B6schl?= Date: Mon, 23 Sep 2024 19:34:28 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Updated=20os=20packages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pigpio/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pigpio/Dockerfile b/pigpio/Dockerfile index b1f0aaf..aa5a438 100644 --- a/pigpio/Dockerfile +++ b/pigpio/Dockerfile @@ -5,10 +5,12 @@ RUN apt-get update && apt-get -y --no-install-recommends install \ python2=2.7.18-3 \ python3=3.9.2-3 \ python-setuptools=44.1.1-1 \ - python3-setuptools=52.0.0-4 \ - git=1:2.30.2-1 \ + git=1:2.30.2-1+deb11u2 \ build-essential=12.9 +# Choose right version for architecture +RUN bash -c '[[ $(dpkg --print-architecture) == "armel" ]] && apt-get install -y --no-install-recommends python3-setuptools=52.0.0-4 || apt-get install -y --no-install-recommends python3-setuptools=52.0.0-4+deb11u1' + # hadolint ignore=DL3003 RUN git config --global advice.detachedHead false && \ git clone 'https://github.com/joan2937/pigpio.git' -b v79 /pigpio &&\