diff --git a/Docker/PlexAniSync/Dockerfile b/Docker/PlexAniSync/Dockerfile index ed70953..1654e32 100644 --- a/Docker/PlexAniSync/Dockerfile +++ b/Docker/PlexAniSync/Dockerfile @@ -1,13 +1,12 @@ FROM python:3.11 AS builder -ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse - RUN apt-get update && \ apt-get install -y \ - build-essential rustc git \ + build-essential \ && apt-get clean && rm -rf /var/lib/apt/lists/* RUN pip install --upgrade pip +COPY Docker/PlexAniSync/pip.conf /etc/pip.conf COPY requirements.txt . # install dependencies to the local user directory (eg. /root/.local) RUN pip install --user --no-warn-script-location -r requirements.txt diff --git a/Docker/PlexAniSync/pip.conf b/Docker/PlexAniSync/pip.conf new file mode 100644 index 0000000..e92bae1 --- /dev/null +++ b/Docker/PlexAniSync/pip.conf @@ -0,0 +1,2 @@ +[global] +extra-index-url=https://www.piwheels.org/simple diff --git a/Docker/Tautulli/Dockerfile b/Docker/Tautulli/Dockerfile index 3b31938..ca1c0bc 100644 --- a/Docker/Tautulli/Dockerfile +++ b/Docker/Tautulli/Dockerfile @@ -1,13 +1,12 @@ FROM python:3.9 AS builder -ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse - RUN apt-get update && \ apt-get install -y \ build-essential rustc git \ && apt-get clean && rm -rf /var/lib/apt/lists/* RUN pip install --upgrade pip +COPY Docker/Tautulli/pip.conf /etc/pip.conf COPY requirements.txt . # install dependencies to the local user directory (eg. /root/.local) RUN pip install --user --no-warn-script-location -r requirements.txt diff --git a/Docker/Tautulli/pip.conf b/Docker/Tautulli/pip.conf new file mode 100644 index 0000000..e92bae1 --- /dev/null +++ b/Docker/Tautulli/pip.conf @@ -0,0 +1,2 @@ +[global] +extra-index-url=https://www.piwheels.org/simple