From 4735e72f12e59e543d096fce079e7f080b9e0c6e Mon Sep 17 00:00:00 2001 From: SweetMNM <44876816+SweetMNM@users.noreply.github.com> Date: Tue, 7 Jun 2022 20:51:48 +0300 Subject: [PATCH] :recycle: Retry with changes from BigCheeZ/tubesync https://github.com/BigCheeZ/tubesync/tree/aarch64_support --- Dockerfile | 5 +++++ Pipfile | 5 ----- pip.conf | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 pip.conf diff --git a/Dockerfile b/Dockerfile index 3aad7f7..8c119fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,9 @@ RUN export ARCH=$(case ${TARGETPLATFORM:-linux/amd64} in \ COPY tubesync /app COPY tubesync/tubesync/local_settings.py.container /app/tubesync/local_settings.py +# Copy over pip.conf to use piwheels +COPY pip.conf /etc/pip.conf + # Add Pipfile COPY Pipfile /app/Pipfile COPY Pipfile.lock /app/Pipfile.lock @@ -62,6 +65,7 @@ RUN set -x && \ python3-pip \ python3-dev \ gcc \ + g++ \ make \ default-libmysqlclient-dev \ libmariadb3 \ @@ -101,6 +105,7 @@ RUN set -x && \ python3-pip \ python3-dev \ gcc \ + g++ \ make \ default-libmysqlclient-dev \ postgresql-common \ diff --git a/Pipfile b/Pipfile index f6a3147..fe274fa 100644 --- a/Pipfile +++ b/Pipfile @@ -3,11 +3,6 @@ name = "pypi" url = "https://pypi.org/simple" verify_ssl = true -[[source]] -name = "piwheels" -url = "https://www.piwheels.org/simple" -verify_ssl = true - [dev-packages] [packages] diff --git a/pip.conf b/pip.conf new file mode 100644 index 0000000..e92bae1 --- /dev/null +++ b/pip.conf @@ -0,0 +1,2 @@ +[global] +extra-index-url=https://www.piwheels.org/simple