fix: docker ci

This commit is contained in:
evlic 2023-09-15 00:30:23 +08:00
parent 1cdc15a37e
commit 2f286f9c49

View File

@ -3,9 +3,10 @@ LABEL io.hass.version="0.1.16" io.hass.type="addon" io.hass.arch="armhf|aarch64|
WORKDIR /opt/miscale WORKDIR /opt/miscale
COPY src /opt/miscale COPY src /opt/miscale
RUN apt-get update && apt-get install -y \ RUN sed -i 's/http:\/\/deb.debian.org/https:\/\/mirrors.cloud.tencent.com/g' /etc/apt/sources.list.d/debian.sources \
&& apt-get update && apt-get install -y \
bluez \ bluez \
python-pip \ python3-pip \
libglib2.0-dev && \ libglib2.0-dev && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*