Update Dockerfile

This commit is contained in:
Alexandre
2024-04-27 11:46:30 +02:00
committed by GitHub
parent 786e01d4a1
commit 42015e7e31

View File

@@ -77,10 +77,10 @@ RUN \
# Ensure chmod
sed -i "/git clone/a chown -R 1000:1000 $HOME" /newinstaller.sh && \
# 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
/./newinstaller.sh && \
sudo -u pi /./newinstaller.sh && \
\
# Adapt for lsio usage of /app
if [ -d /app ]; then rm -r /app; fi && \