mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 17:38:17 +01:00
Update Dockerfile
This commit is contained in:
@@ -36,6 +36,7 @@ RUN \
|
||||
# Allow running as root
|
||||
sed -i "s|== 0|== 7|g" /newinstaller.sh && \
|
||||
sed -i "s|sudo -n true|true|g" /newinstaller.sh && \
|
||||
sed -i "s|sudo -K|true|g" /newinstaller.sh && \
|
||||
for file in $(grep -srl "sudo" $HOME/BirdNET-Pi/scripts); do \sed -i "s|sudo ||" "$file"; done && \
|
||||
/./newinstaller.sh
|
||||
# Correct for absence of sudo
|
||||
|
||||
Reference in New Issue
Block a user