From c8282ca9765563f2499e989570d1f5671a0f90a0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 23 Apr 2024 12:38:50 +0200 Subject: [PATCH] Update Dockerfile --- zzz_draft_birdnet-pi/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/zzz_draft_birdnet-pi/Dockerfile b/zzz_draft_birdnet-pi/Dockerfile index 53e06d312..1b0c95815 100644 --- a/zzz_draft_birdnet-pi/Dockerfile +++ b/zzz_draft_birdnet-pi/Dockerfile @@ -21,11 +21,14 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] ENV DEBIAN_FRONTEND noninteractive ENV HOME="/config" +# Install dependencies RUN apt-get update -y && apt-get install gcc python3-dev -y -#RUN curl -s https://raw.githubusercontent.com/olipayne/BirdNET-Pi/main/newinstaller.sh | bash -RUN curl -s https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh && \ - sed -i "/sudo reboot/d" newinstaller.sh && \ - bash newinstaller.sh + +# Install app +RUN curl -f -L -s -S "https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh" -o /newinstaller.sh && \ + chmod +x /newinstaller.sh && \ + sed -i "/sudo reboot/d" /newinstaller.sh && \ + /./newinstaller.sh ################## # 2 Modify Image #