Update Dockerfile

This commit is contained in:
Alexandre
2024-04-23 17:20:03 +02:00
committed by GitHub
parent 680068bab7
commit cfa7b03e9e

View File

@@ -31,10 +31,11 @@ RUN \
echo "birdnet ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
\
# Install app
curl -s https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/main/newinstaller.sh -o /newinstaller.sh && \
# curl -f -L -s -S "https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh" -o /newinstaller.sh && \
#curl -s https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/main/newinstaller.sh -o /newinstaller.sh && \
curl -f -L -s -S "https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh" -o /newinstaller.sh && \
chmod 777 /newinstaller.sh && \
sed -i "s|apt |apt-get |g" /newinstaller.sh && \
sed -i "s|sudo -n true|true|g" /newinstaller.sh && \
sed -i "s|sudo|#sudo|g" /newinstaller.sh && \
sed -i "/sudo apt update/a echo \"Missing apps : \$PACKAGES_MISSING\" && exit 1" /newinstaller.sh