diff --git a/core/admin/Dockerfile b/core/admin/Dockerfile index 4d6aa75a..e4d870e0 100644 --- a/core/admin/Dockerfile +++ b/core/admin/Dockerfile @@ -37,7 +37,7 @@ WORKDIR /app COPY requirements-prod.txt requirements.txt RUN set -eu \ && apk add --no-cache libressl curl postgresql-libs mariadb-connector-c \ - && pip install --no-cache-dir --extra-index-url=https://www.piwheels.org/simple -r requirements.txt --only-binary=:all: --no-binary=Flask-bootstrap,PyYAML,SQLAlchemy \ + && pip install --no-cache-dir -r requirements.txt --only-binary=:all: --no-binary=Flask-bootstrap,PyYAML,SQLAlchemy \ || ( apk add --no-cache --virtual build-dep libressl-dev libffi-dev python3-dev build-base postgresql-dev mariadb-connector-c-dev cargo \ && pip install --upgrade pip \ && pip install -r requirements.txt \ diff --git a/core/postfix/Dockerfile b/core/postfix/Dockerfile index b048a15e..373e5c8d 100644 --- a/core/postfix/Dockerfile +++ b/core/postfix/Dockerfile @@ -22,7 +22,7 @@ RUN apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev \ # Image specific layers under this line # Building pycares from source requires py3-wheel and libffi-dev packages -RUN pip install --no-cache-dir --extra-index-url=https://www.piwheels.org/simple --only-binary=:all: postfix-mta-sts-resolver==1.0.1 || (apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev py3-wheel libffi-dev \ +RUN pip install --no-cache-dir --only-binary=:all: postfix-mta-sts-resolver==1.0.1 || (apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev py3-wheel libffi-dev \ && pip3 install postfix-mta-sts-resolver==1.0.1 \ && apk del .build-deps )