Update Dockerfile
This commit is contained in:
parent
ce25097bf6
commit
d8c793a746
@ -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}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
ENV PIP_FLAGS="--no-cache-dir"
|
ENV PIP_FLAGS="--no-cache-dir"
|
||||||
@ -7,12 +7,19 @@ ENV PIP_FLAGS="--no-cache-dir"
|
|||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install -y \
|
apt install -y \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
python3-pip \
|
python3-minimal \
|
||||||
git \
|
|
||||||
nginx \
|
nginx \
|
||||||
&& pip install aiohttp aiortc \
|
python3-pip \
|
||||||
|
python3-dev \
|
||||||
|
git \
|
||||||
|
gcc \
|
||||||
|
&& pip install ${PIP_FLAGS} aiohttp aiortc \
|
||||||
&& git clone https://github.com/aiortc/aiortc \
|
&& git clone https://github.com/aiortc/aiortc \
|
||||||
&& apt remove -y git \
|
&& apt remove -y \
|
||||||
|
python3-dev \
|
||||||
|
git \
|
||||||
|
gcc \
|
||||||
|
&& apt -y autoremove \
|
||||||
&& apt clean
|
&& apt clean
|
||||||
|
|
||||||
# Copy root filesystem
|
# Copy root filesystem
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "3DPrinter-aiortc"
|
name: "3DPrinter-aiortc"
|
||||||
version: "2022.7.001"
|
version: "2022.7.002"
|
||||||
slug: "3dprinter-aiortc"
|
slug: "3dprinter-aiortc"
|
||||||
description: "Camera stream with support for WebRTC."
|
description: "Camera stream with support for WebRTC."
|
||||||
url: "https://github.com/fredrikbaberg/3dprinter-addons/tree/main/3dprinter-aiortc"
|
url: "https://github.com/fredrikbaberg/3dprinter-addons/tree/main/3dprinter-aiortc"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user