From 70137558a3e874a245d9d31403d831ee4349d1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Graf=C3=A9?= Date: Tue, 3 Oct 2023 10:45:38 -0400 Subject: [PATCH] Fix Docker container build on ARM hardware (#229) add dependencies to dockerfile --- monitoring/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/monitoring/Dockerfile b/monitoring/Dockerfile index 225320623e..841605bb7c 100644 --- a/monitoring/Dockerfile +++ b/monitoring/Dockerfile @@ -13,6 +13,10 @@ FROM python:3.8-slim # Not -alpine because: https://stackoverflow.com/a/58028091/651139 RUN apt-get update && apt-get install -y openssl curl libgeos-dev gcc && apt-get install ca-certificates + +# required for gevent to build without error in an ARM environment +RUN apt-get update && apt-get install -y libffi-dev libssl-dev python3-dev build-essential + RUN mkdir -p /app/monitoring COPY ./requirements.txt /app/monitoring/requirements.txt RUN pip install -r /app/monitoring/requirements.txt