From 00606c373a5d43272e5d5ee7330652a5c478eefd Mon Sep 17 00:00:00 2001 From: Peter Kopias Date: Mon, 6 May 2024 22:14:36 +0200 Subject: [PATCH] Add apt install gcc and python3-dev to Dockerfile so pip can build psutils wheel on arm64v8 (which otherwise would fail) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 053f96c..edd9699 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get -qq update && apt-get upgrade -y RUN apt-get install -y apt-utils RUN apt-get install -y tzdata -RUN apt-get install -y curl +RUN apt-get install -y curl gcc python3-dev RUN apt-get -qq install --no-install-recommends -y python3-pip RUN apt-get install ffmpeg libsm6 libxext6 -y @@ -19,4 +19,4 @@ RUN pip3 install opencv-python COPY . . -CMD ["python3", "main.py"] \ No newline at end of file +CMD ["python3", "main.py"]