mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -94,7 +94,6 @@ RUN \
|
||||
sed -i "s|Nachtzuster|alexbelgium|g" /newinstaller.sh && \
|
||||
# Install open PR
|
||||
chmod +x /helpers/merge_open_prs.sh && \
|
||||
sed -i '/git clone/a echo "Merge PR" && bash /helpers/merge_open_prs.sh' /newinstaller.sh && \
|
||||
# Avoid rebooting at end of installation
|
||||
sed -i "/reboot/d" /newinstaller.sh && \
|
||||
# Use apt-get as without user action
|
||||
@@ -106,6 +105,8 @@ RUN \
|
||||
sed -i '/git clone/a sed -i "/CURRENT_TIMEZONE/s/$/ || true/" $HOME/BirdNET-Pi/scripts/install_birdnet.sh' /newinstaller.sh && \
|
||||
# Remove all instances of sudo from the newinstaller
|
||||
sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \
|
||||
# Merge all PR
|
||||
sed -i '/git clone/a echo "Merge PR" && bash /helpers/merge_open_prs.sh' /newinstaller.sh && \
|
||||
\
|
||||
# Execute installer
|
||||
/./newinstaller.sh && \
|
||||
|
||||
Reference in New Issue
Block a user