diff --git a/zzz_draft_birdnet-pi/Dockerfile b/zzz_draft_birdnet-pi/Dockerfile index 578ffd326..26cf729b6 100644 --- a/zzz_draft_birdnet-pi/Dockerfile +++ b/zzz_draft_birdnet-pi/Dockerfile @@ -32,8 +32,11 @@ RUN \ # Install app curl -f -L -s -S "https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh" -o /newinstaller.sh && \ chmod 777 /newinstaller.sh && \ - sed -i "/reboot/d" "/newinstaller.sh" && \ - sudo -u birdnet -s /bin/bash -c "/newinstaller.sh" + sed -i "/reboot/d" "/newinstaller.sh" + +USER birdnet +RUN "/./newinstaller.sh" +USER root ################## # 2 Modify Image #