Skip to content

Commit

Permalink
fix: make webrtc-noise-gain work with Alpine
Browse files Browse the repository at this point in the history
Signed-off-by: wilmardo <[email protected]>
  • Loading branch information
wilmardo committed Jan 7, 2024
1 parent 2e3b854 commit c119e3c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG COMPONENTS="frontend|recorder|http|image|discovery|ssdp|mobile_app|cloud|fil
ARG OTHER

# https://github.com/home-assistant/core/releases
ENV VERSION="2023.12.2"
ENV VERSION="2024.1.2"

RUN echo "hass:x:1000:1000:hass:/:" > /etc_passwd

Expand Down Expand Up @@ -57,6 +57,7 @@ RUN export COMPONENTS=$(echo components.${COMPONENTS} | sed --expression='s/|/|c
fi;

# Makeflags source: https://math-linux.com/linux/tip-of-the-day/article/speedup-gnu-make-build-and-compilation-process
# https://github.com/rhasspy/webrtc-noise-gain/issues/9
# Install requirements and Home Assistant
RUN --mount=type=cache,target=/root/.cache \
CORES=$(grep -c '^processor' /proc/cpuinfo); \
Expand All @@ -67,12 +68,15 @@ RUN --mount=type=cache,target=/root/.cache \
--no-warn-script-location \
--compile \
-r requirements.txt \
-r requirements_strip.txt
-r requirements_strip.txt \
git+https://github.com/rhasspy/webrtc-noise-gain



#######################################################################################################################
# Final image
#######################################################################################################################
FROM alpine:3.18
FROM alpine:3.19

LABEL org.label-schema.description="Minimal Home Assistant on Alpine"

Expand Down

0 comments on commit c119e3c

Please sign in to comment.