From e5ffd874c59e86a4fde61750a65ab69d4fa781a5 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 23 Apr 2024 15:36:57 +0200 Subject: [PATCH] Update Dockerfile --- zzz_draft_birdnet-pi/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zzz_draft_birdnet-pi/Dockerfile b/zzz_draft_birdnet-pi/Dockerfile index 619f40962..cc57f94f0 100644 --- a/zzz_draft_birdnet-pi/Dockerfile +++ b/zzz_draft_birdnet-pi/Dockerfile @@ -21,6 +21,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] ENV DEBIAN_FRONTEND noninteractive ENV HOME="/home/birdnet" +# hadolint ignore=DL3015 RUN \ # Install dependencies apt-get update -y && apt-get install gcc python3-dev sudo -y && \ @@ -32,7 +33,8 @@ RUN \ # Install app curl -f -L -s -S "https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh" -o /newinstaller.sh && \ chmod 777 /newinstaller.sh && \ - sed -i "/reboot/d" "/newinstaller.sh" + sed -i "s|apt |apt-get |g" /newinstaller.sh && \ + sed -i "/reboot/d" /newinstaller.sh USER birdnet RUN "/./newinstaller.sh"