mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-13 16:42:29 +02:00
Update Dockerfile
This commit is contained in:
@@ -21,6 +21,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV HOME="/home/birdnet"
|
ENV HOME="/home/birdnet"
|
||||||
|
# hadolint ignore=DL3015
|
||||||
RUN \
|
RUN \
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
apt-get update -y && apt-get install gcc python3-dev sudo -y && \
|
apt-get update -y && apt-get install gcc python3-dev sudo -y && \
|
||||||
@@ -32,7 +33,8 @@ RUN \
|
|||||||
# Install app
|
# Install app
|
||||||
curl -f -L -s -S "https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh" -o /newinstaller.sh && \
|
curl -f -L -s -S "https://raw.githubusercontent.com/Nachtzuster/BirdNET-Pi/main/newinstaller.sh" -o /newinstaller.sh && \
|
||||||
chmod 777 /newinstaller.sh && \
|
chmod 777 /newinstaller.sh && \
|
||||||
sed -i "/reboot/d" "/newinstaller.sh"
|
sed -i "s|apt |apt-get |g" /newinstaller.sh && \
|
||||||
|
sed -i "/reboot/d" /newinstaller.sh
|
||||||
|
|
||||||
USER birdnet
|
USER birdnet
|
||||||
RUN "/./newinstaller.sh"
|
RUN "/./newinstaller.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user