Update Dockerfile

This commit is contained in:
Alexandre
2025-01-28 14:05:56 +01:00
committed by GitHub
parent 02891b60f4
commit 16ee825eb5

View File

@@ -83,6 +83,7 @@ RUN \
sed -i "s|apt |apt-get |g" /newinstaller.sh && \
# Ensure chmod
sed -i "/git clone/a chown -R 1000:1000 $HOME" /newinstaller.sh && \
sed -i "/git clone/a chmod +x $HOME/scripts/install_config.sh" /newinstaller.sh && \
# Disable datetimectl
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