mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -36,9 +36,10 @@ RUN \
|
||||
chmod 777 /newinstaller.sh && \
|
||||
sed -i "s|sudo apt update|echo \"yes\"|g" /newinstaller.sh && \
|
||||
sed -i "s|apt |apt-get |g" /newinstaller.sh && \
|
||||
sed -i "s|sudo -n true|true|g" /newinstaller.sh && \
|
||||
sed -i "s|sudo|#sudo|g" /newinstaller.sh && \
|
||||
cat /newinstaller.sh
|
||||
#sed -i "s|sudo -n true|true|g" /newinstaller.sh && \
|
||||
#sed -i "s|sudo|#sudo|g" /newinstaller.sh && \
|
||||
cat /newinstaller.sh && \
|
||||
sudo -u birdnet -s /bin/bash -c "/newinstaller.sh"
|
||||
|
||||
RUN if type sudo 2>/dev/null; then \
|
||||
echo "The sudo command already exists... Skipping."; \
|
||||
|
||||
Reference in New Issue
Block a user