This commit is contained in:
Alexandre
2024-04-25 13:11:20 +02:00
parent 62aaa971db
commit 456bd81423
2 changed files with 6 additions and 6 deletions

View File

@@ -20,9 +20,9 @@ FROM ${BUILD_FROM}
ENV DEBIAN_FRONTEND="noninteractive" \
BIRDNET_USER="pi" \
USER="pi" \
PUID=1000 \
PGID=1000 \
USER="1000" \
PUID=101 \
PGID=101 \
HOME="/home/pi" \
XDG_RUNTIME_DIR="/run/user/1000" \
PYTHON_VIRTUAL_ENV="/home/pi/BirdNET-Pi/birdnet/bin/python3"
@@ -33,11 +33,11 @@ RUN \
apt-get update -y && apt-get install gcc python3-dev git jq sudo -y && \
\
# Change user to pi and create /home/pi
usermod -u 101 abc && \
usermod -u 101 -g 101 abc && \
useradd --uid 1000 --gid 1000 -m pi && \
\
# Ensure permissions
chown -R 1000:1000 /home/pi && \
chown -R pi:pi /home/pi && \
echo "pi ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
\
# Download installer

View File

@@ -90,5 +90,5 @@
},
"slug": "birdnet-pi",
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
"version": "0.9"
"version": "0.7"
}