testing armv7 build solutuin

taken from https://github.com/healthchecks/healthchecks/issues/568#issuecomment-942047344
This commit is contained in:
vabene1111 2022-05-04 17:18:25 +02:00
parent 36e26d8009
commit df2f1b2b7c

View File

@ -15,6 +15,11 @@ WORKDIR /opt/recipes
COPY requirements.txt ./
RUN \
if [ `dpkg --print-architecture` = "armhf" ]; then \
printf "[global]\nextra-index-url=https://www.piwheels.org/simple\n" > /etc/pip.conf ; \
fi
RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev zlib-dev jpeg-dev libwebp-dev libressl-dev libffi-dev cargo openssl-dev openldap-dev python3-dev && \
echo -n "INPUT ( libldap.so )" > /usr/lib/libldap_r.so && \
python -m venv venv && \