Update Dockerfile

This commit is contained in:
Alexandre
2024-04-24 14:52:49 +02:00
committed by GitHub
parent eade383e66
commit 0828e8fb52

View File

@@ -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"