mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 01:25:58 +02:00
Update Dockerfile
This commit is contained in:
@@ -37,11 +37,12 @@ RUN \
|
|||||||
chmod 777 /newinstaller.sh
|
chmod 777 /newinstaller.sh
|
||||||
|
|
||||||
USER birdnet
|
USER birdnet
|
||||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
ENV DEBIAN_FRONTEND noninteractive \
|
||||||
export BIRDNET_USER="birdnet" && \
|
BIRDNET_USER="birdnet" \
|
||||||
export USER="birdnet" && \
|
USER="birdnet" \
|
||||||
export HOME="/home/birdnet" && \
|
HOME="/home/$BIRDNET_USER"
|
||||||
echo "this is the path: $(awk -F: '/1000/ {print $6}' /etc/passwd)" && \
|
RUN /usr/bin/env && \
|
||||||
|
exit 1 && \
|
||||||
/./newinstaller.sh
|
/./newinstaller.sh
|
||||||
USER root
|
USER root
|
||||||
#sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh"
|
#sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user