File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 11FROM python:3.11.13
22WORKDIR /home/pandas
33
4+ # https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
5+ ARG TARGETPLATFORM
6+
47RUN apt-get update && \
58 apt-get --no-install-recommends -y upgrade && \
69 apt-get --no-install-recommends -y install \
@@ -13,7 +16,14 @@ RUN apt-get update && \
1316 rm -rf /var/lib/apt/lists/*
1417
1518COPY requirements-dev.txt /tmp
16- RUN python -m pip install --no-cache-dir --upgrade pip && \
19+
20+ RUN case "$TARGETPLATFORM" in \
21+ linux/arm*) \
22+ # Drop PyQt5 for ARM GH#61037
23+ sed -i "/^pyqt5/Id" /tmp/requirements-dev.txt \
24+ ;; \
25+ esac && \
26+ python -m pip install --no-cache-dir --upgrade pip && \
1727 python -m pip install --no-cache-dir -r /tmp/requirements-dev.txt
1828RUN git config --global --add safe.directory /home/pandas
1929
You can’t perform that action at this time.
0 commit comments