Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM python:3.11.13
WORKDIR /home/pandas

# https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope
ARG TARGETPLATFORM

RUN apt-get update && \
apt-get --no-install-recommends -y upgrade && \
apt-get --no-install-recommends -y install \
Expand All @@ -13,7 +16,14 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

COPY requirements-dev.txt /tmp
RUN python -m pip install --no-cache-dir --upgrade pip && \

RUN case "$TARGETPLATFORM" in \
linux/arm*) \
# Drop PyQt5 for ARM GH#61037
sed -i "/^pyqt5/Id" /tmp/requirements-dev.txt \
;; \
esac && \
python -m pip install --no-cache-dir --upgrade pip && \
python -m pip install --no-cache-dir -r /tmp/requirements-dev.txt
RUN git config --global --add safe.directory /home/pandas

Expand Down
Loading