From 9422aebcfa5eb81d88287551579f5b3b52f78bfc Mon Sep 17 00:00:00 2001 From: Roman Davydov <15850461+rdavydov@users.noreply.github.com> Date: Thu, 17 Nov 2022 21:11:10 +0300 Subject: [PATCH] testing FROM python:3.11-slim-buster + apt --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9d0a4fa..4285b58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1 RUN pip install --upgrade pip +ARG TARGETPLATFORM + RUN apt-get update RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends \ gcc \ @@ -26,6 +28,10 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-ins && if [ "${BUILDX_QEMU_ENV}" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then \ pip install -U cryptography==3.3.2; \ fi \ + && if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \ + apt-get -y install python3-pandas; \ + sed -i '/pandas/d' requirements.txt; \ + fi \ && pip install -r requirements.txt \ && pip cache purge \ && apt-get remove -y gcc rustc \