From 2f286f9c497a7fd3721467d8b5124ac07e709f0c Mon Sep 17 00:00:00 2001 From: evlic Date: Fri, 15 Sep 2023 00:30:23 +0800 Subject: [PATCH] fix: docker ci --- mi-scale/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mi-scale/Dockerfile b/mi-scale/Dockerfile index 72f5f7f..c3e0508 100644 --- a/mi-scale/Dockerfile +++ b/mi-scale/Dockerfile @@ -3,9 +3,10 @@ LABEL io.hass.version="0.1.16" io.hass.type="addon" io.hass.arch="armhf|aarch64| WORKDIR /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 \ - python-pip \ + python3-pip \ libglib2.0-dev && \ rm -rf /var/lib/apt/lists/*