diff --git a/zzz_draft_birdnet-pi/Dockerfile b/zzz_draft_birdnet-pi/Dockerfile index 16254f0f1..19a9320c4 100644 --- a/zzz_draft_birdnet-pi/Dockerfile +++ b/zzz_draft_birdnet-pi/Dockerfile @@ -36,9 +36,10 @@ RUN \ chmod 777 /newinstaller.sh && \ sed -i "s|sudo apt update|echo \"yes\"|g" /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 && \ - cat /newinstaller.sh + #sed -i "s|sudo -n true|true|g" /newinstaller.sh && \ + #sed -i "s|sudo|#sudo|g" /newinstaller.sh && \ + cat /newinstaller.sh && \ + sudo -u birdnet -s /bin/bash -c "/newinstaller.sh" RUN if type sudo 2>/dev/null; then \ echo "The sudo command already exists... Skipping."; \