mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-06 13:18:23 +01:00
Update Dockerfile
This commit is contained in:
@@ -40,14 +40,14 @@ RUN \
|
||||
# Correct installer
|
||||
sed -i "/reboot/d" /newinstaller.sh && \
|
||||
sed -i "s|apt |apt-get |g" /newinstaller.sh && \
|
||||
sed -i "/git clone/a sed -i '1a export HOME=\"/home/abc\"'" /newinstaller.sh && \
|
||||
#sed -i "/git clone/a sed -i '1a export HOME=\"/home/abc\"'" /newinstaller.sh && \
|
||||
sed -i "/git clone/a sed -i '1a export BIRDNET_USER=\"abc\"'" /newinstaller.sh
|
||||
|
||||
USER abc
|
||||
RUN export DEBIAN_FRONTEND noninteractive && \
|
||||
export BIRDNET_USER="abc" && \
|
||||
export USER="abc" && \
|
||||
export HOME="/home/abc" && \
|
||||
#export HOME="/home/abc" && \
|
||||
/./newinstaller.sh
|
||||
USER root
|
||||
#sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh"
|
||||
|
||||
Reference in New Issue
Block a user