mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
Update Dockerfile
This commit is contained in:
@@ -77,10 +77,10 @@ RUN \
|
|||||||
# Ensure chmod
|
# Ensure chmod
|
||||||
sed -i "/git clone/a chown -R 1000:1000 $HOME" /newinstaller.sh && \
|
sed -i "/git clone/a chown -R 1000:1000 $HOME" /newinstaller.sh && \
|
||||||
# Remove all instances of sudo from the newinstaller
|
# Remove all instances of sudo from the newinstaller
|
||||||
sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \
|
#sed -i -e "s|== 0|== 7|g" -e "s|sudo -n true|true|g" -e "s|sudo -K|true|g" /newinstaller.sh && \
|
||||||
\
|
\
|
||||||
# Execute installer
|
# Execute installer
|
||||||
/./newinstaller.sh && \
|
sudo -u pi /./newinstaller.sh && \
|
||||||
\
|
\
|
||||||
# Adapt for lsio usage of /app
|
# Adapt for lsio usage of /app
|
||||||
if [ -d /app ]; then rm -r /app; fi && \
|
if [ -d /app ]; then rm -r /app; fi && \
|
||||||
|
|||||||
Reference in New Issue
Block a user