We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6fa9b6 commit 9100696Copy full SHA for 9100696
Dockerfile
@@ -1,6 +1,9 @@
1
FROM python:3.11.13
2
WORKDIR /home/pandas
3
4
+# https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
5
+ARG TARGETPLATFORM
6
+
7
RUN apt-get update && \
8
apt-get --no-install-recommends -y upgrade && \
9
apt-get --no-install-recommends -y install \
@@ -13,7 +16,14 @@ RUN apt-get update && \
13
16
rm -rf /var/lib/apt/lists/*
14
17
15
18
COPY requirements-dev.txt /tmp
-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 && \
27
python -m pip install --no-cache-dir -r /tmp/requirements-dev.txt
28
RUN git config --global --add safe.directory /home/pandas
29
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments