From 1b4c82e3f0354480f056da1d7271f3b22dfb0bb9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 24 Apr 2024 17:42:02 +0200 Subject: [PATCH] Update Dockerfile --- zzz_draft_birdnet-pi/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zzz_draft_birdnet-pi/Dockerfile b/zzz_draft_birdnet-pi/Dockerfile index 2707f81d4..345506169 100644 --- a/zzz_draft_birdnet-pi/Dockerfile +++ b/zzz_draft_birdnet-pi/Dockerfile @@ -30,11 +30,10 @@ RUN \ # Install dependencies apt-get update -y && apt-get install gcc python3-dev git jq sudo -y && \ \ - # Create user and allow sudo - #groupadd --gid 1000 birdnet && useradd --uid 1000 --gid birdnet --shell /bin/bash --create-home birdnet && \ - #echo "birdnet ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \ + # Scripts expect to see a home in /home mkdir -p /home/abc && \ ln -s /home/abc /app && \ + # Ensure permissions chown -R abc:abc /home/abc && \ chown -R abc:abc /app && \ echo "abc ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \