Update Dockerfile

This commit is contained in:
Alexandre
2024-04-24 17:42:02 +02:00
committed by GitHub
parent 8bb6d22a4a
commit 1b4c82e3f0

View File

@@ -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 && \