From 84c7e44ec6f5068fd9718aba0a883c3eb76f08ea Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 24 Apr 2024 15:27:51 +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 e47578799..29e7419b6 100644 --- a/zzz_draft_birdnet-pi/Dockerfile +++ b/zzz_draft_birdnet-pi/Dockerfile @@ -38,7 +38,9 @@ RUN \ \ # Correct installer sed -i "/reboot/d" /newinstaller.sh && \ - sed -i "s|apt |apt-get |g" /newinstaller.sh + sed -i "s|apt |apt-get |g" /newinstaller.sh && \ + sed -i "/git clone/a sed -i '1a export HOME=\"/home/birdnet\"'" /newinstaller.sh && \ + sed -i "/git clone/a sed -i '1a export BIRDNET_USER=\"birdnet\"'" /newinstaller.sh USER birdnet RUN export DEBIAN_FRONTEND noninteractive && \