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
USER birdnet
RUN export DEBIAN_FRONTEND=noninteractive && \
export BIRDNET_USER="birdnet" && \
export USER="birdnet" && \
export HOME="/home/birdnet" && \
echo "this is the path: $(awk -F: '/1000/ {print $6}' /etc/passwd)" && \
ENV DEBIAN_FRONTEND noninteractive \
BIRDNET_USER="birdnet" \
USER="birdnet" \
HOME="/home/$BIRDNET_USER"
RUN /usr/bin/env && \
exit 1 && \
/./newinstaller.sh
USER root
#sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh"