diff --git a/aiortc/Dockerfile b/aiortc/Dockerfile index 834ba83..9ce55e0 100644 --- a/aiortc/Dockerfile +++ b/aiortc/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base-debian:bullseye" +ARG BUILD_FROM="ghcr.io/home-assistant/aarch64-base-debian:bullseye" FROM ${BUILD_FROM} ENV PIP_FLAGS="--no-cache-dir" @@ -7,12 +7,19 @@ ENV PIP_FLAGS="--no-cache-dir" RUN apt update && \ apt install -y \ --no-install-recommends \ - python3-pip \ - git \ + python3-minimal \ nginx \ - && pip install aiohttp aiortc \ + python3-pip \ + python3-dev \ + git \ + gcc \ + && pip install ${PIP_FLAGS} aiohttp aiortc \ && git clone https://github.com/aiortc/aiortc \ - && apt remove -y git \ + && apt remove -y \ + python3-dev \ + git \ + gcc \ + && apt -y autoremove \ && apt clean # Copy root filesystem diff --git a/aiortc/config.yaml b/aiortc/config.yaml index 6842df4..968fe3b 100644 --- a/aiortc/config.yaml +++ b/aiortc/config.yaml @@ -1,6 +1,6 @@ --- name: "3DPrinter-aiortc" -version: "2022.7.001" +version: "2022.7.002" slug: "3dprinter-aiortc" description: "Camera stream with support for WebRTC." url: "https://github.com/fredrikbaberg/3dprinter-addons/tree/main/3dprinter-aiortc"