mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 08:35:57 +02:00
Update Dockerfile
This commit is contained in:
@@ -18,11 +18,6 @@ ARG BUILD_VERSION
|
|||||||
ARG BUILD_FROM
|
ARG BUILD_FROM
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive \
|
|
||||||
BIRDNET_USER="birdnet" \
|
|
||||||
USER="birdnet" \
|
|
||||||
HOME="/home/birdnet"
|
|
||||||
|
|
||||||
# hadolint ignore=DL3015
|
# hadolint ignore=DL3015
|
||||||
RUN \
|
RUN \
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
@@ -37,9 +32,14 @@ RUN \
|
|||||||
chmod 777 /newinstaller.sh && \
|
chmod 777 /newinstaller.sh && \
|
||||||
\
|
\
|
||||||
# Correct installer
|
# Correct installer
|
||||||
sed -i "/reboot/d" /newinstaller.sh
|
sed -i "/reboot/d" /newinstaller.sh && \
|
||||||
|
sed -i "s|apt |apt-get |g" /newinstaller.sh
|
||||||
|
|
||||||
USER birdnet
|
USER birdnet
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive \
|
||||||
|
BIRDNET_USER="birdnet" \
|
||||||
|
USER="birdnet" \
|
||||||
|
HOME="/home/birdnet"
|
||||||
RUN /./newinstaller.sh
|
RUN /./newinstaller.sh
|
||||||
USER root
|
USER root
|
||||||
#sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh"
|
#sudo -E -u birdnet -s /bin/bash -c "/newinstaller.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user