Update Dockerfile

This commit is contained in:
Alexandre
2024-04-24 17:11:25 +02:00
committed by GitHub
parent 7a1215d60f
commit 1b2e596592

View File

@@ -48,12 +48,14 @@ RUN \
sed -i "/git clone/a sed -i '1a export BIRDNET_USER=\"abc\"'" /newinstaller.sh sed -i "/git clone/a sed -i '1a export BIRDNET_USER=\"abc\"'" /newinstaller.sh
USER abc USER abc
WORKDIR /app
RUN export DEBIAN_FRONTEND noninteractive && \ RUN export DEBIAN_FRONTEND noninteractive && \
export BIRDNET_USER="abc" && \ export BIRDNET_USER="abc" && \
export USER="abc" && \ export USER="abc" && \
export HOME="/app" && \ export HOME="/app" && \
echo "HOME is $HOME" && \ echo "HOME is $HOME" && \
cd /app || true && \ ls -l /app && \
sudo chown -R abc:abc /app && \
/./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"