From ff78e23d7e53d251f883127f3a5b4d150cab48c2 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 23 Apr 2024 14:47:17 +0200 Subject: [PATCH] Update Dockerfile --- zzz_draft_birdnet-pi/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zzz_draft_birdnet-pi/Dockerfile b/zzz_draft_birdnet-pi/Dockerfile index 578ffd326..26cf729b6 100644 --- a/zzz_draft_birdnet-pi/Dockerfile +++ b/zzz_draft_birdnet-pi/Dockerfile @@ -32,8 +32,11 @@ 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" && \ - sudo -u birdnet -s /bin/bash -c "/newinstaller.sh" + sed -i "/reboot/d" "/newinstaller.sh" + +USER birdnet +RUN "/./newinstaller.sh" +USER root ################## # 2 Modify Image #