From cb78bb02d3c2205a5aa3eb43ba90ae59d9179807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 10 Nov 2021 13:38:05 +0200 Subject: [PATCH] Update Dockerfile to install everything from piwheels on arm/v7 --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9ef8c64f..2951a30d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,14 +1,14 @@ FROM python:3.9-slim-buster as builder COPY requirements.txt /tmp -RUN apt update && apt install -y build-essential libffi-dev libpq-dev +RUN apt update && apt install -y build-essential libpq-dev RUN \ if [ `dpkg --print-architecture` = "armhf" ]; then \ printf "[global]\nextra-index-url=https://www.piwheels.org/simple\n" > /etc/pip.conf ; \ fi RUN pip wheel --wheel-dir /wheels -r /tmp/requirements.txt -RUN rm -f /etc/pip.conf && pip wheel --wheel-dir /wheels apprise uwsgi +RUN pip wheel --wheel-dir /wheels apprise uwsgi FROM python:3.9-slim-buster