mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-05 05:28:47 +02:00
Update Dockerfile
This commit is contained in:
@@ -33,7 +33,9 @@ RUN \
|
|||||||
# Create user and allow sudo
|
# Create user and allow sudo
|
||||||
#groupadd --gid 1000 birdnet && useradd --uid 1000 --gid birdnet --shell /bin/bash --create-home birdnet && \
|
#groupadd --gid 1000 birdnet && useradd --uid 1000 --gid birdnet --shell /bin/bash --create-home birdnet && \
|
||||||
#echo "birdnet ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
#echo "birdnet ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||||
mkdir -p /app && \
|
mkdir -p /home/abc && \
|
||||||
|
ln -s /home/abc /app && \
|
||||||
|
chown -R abc:abc /home/abc && \
|
||||||
chown -R abc:abc /app && \
|
chown -R abc:abc /app && \
|
||||||
echo "abc ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
echo "abc ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||||
\
|
\
|
||||||
|
|||||||
Reference in New Issue
Block a user