Update debian, install wiringPi

Remove pigpio api, change wiringpi version
Remove pigpio api, add wiringPi api
Remove pigpio api, add wiringPi api
This commit is contained in:
gustaf71
2025-03-25 19:09:35 +01:00
parent 9bcac486c5
commit e1143f6586
4 changed files with 37 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
FROM debian:bullseye-20240722
FROM debian:stable
COPY . /workdir
@@ -8,6 +8,23 @@ RUN mkdir /docker_persistent
VOLUME /docker_persistent
# get git, wget, dpkg-dev and gettext
RUN apt update && apt install -y \
git \
wget \
dpkg-dev \
gettext
# clone WiringPi
RUN git clone https://github.com/WiringPi/WiringPi.git /api
# change the directory
WORKDIR /api
# build wiringPi and install it
RUN ./build debian \
&& apt install -y ./debian-template/wiringpi_3.14_arm64.deb
RUN ./install.sh docker \
&& touch /docker_persistent/mbconfig.cfg \
&& touch /docker_persistent/persistent.file \