Skip to content

Commit 009d11f

Browse files
authored
Merge pull request #1 from Poeschl-HomeAssistant-Addons/depdendency-update
⬆️ Updated os packages
2 parents 2445dc3 + c2f9429 commit 009d11f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pigpio/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ RUN apt-get update && apt-get -y --no-install-recommends install \
55
python2=2.7.18-3 \
66
python3=3.9.2-3 \
77
python-setuptools=44.1.1-1 \
8-
python3-setuptools=52.0.0-4 \
9-
git=1:2.30.2-1 \
8+
git=1:2.30.2-1+deb11u2 \
109
build-essential=12.9
1110

11+
# Choose right version for architecture
12+
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'
13+
1214
# hadolint ignore=DL3003
1315
RUN git config --global advice.detachedHead false && \
1416
git clone 'https://github.com/joan2937/pigpio.git' -b v79 /pigpio &&\

0 commit comments

Comments
 (0)