Skip to content

Commit

Permalink
Upgrade packages in Ray node (#1441)
Browse files Browse the repository at this point in the history
* update packages

Signed-off-by: Paul S. Schweigert <[email protected]>

* upgrade pip and setuptools

Signed-off-by: Paul S. Schweigert <[email protected]>

* updating pip and setuptools

Signed-off-by: Paul S. Schweigert <[email protected]>

---------

Signed-off-by: Paul S. Schweigert <[email protected]>
  • Loading branch information
psschwei authored Aug 6, 2024
1 parent c675ba4 commit 2ce66d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile-ray-node
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM registry.access.redhat.com/ubi9-minimal:9.4@sha256:104cf11d890aeb7dd5728b7d7732e175a0e4018f1bb00d2faebcc8f6bf29bd52
RUN microdnf install -y python3.11-3.11.7 python3.11-pip-22.3.1 python3.11-devel-3.11.7 vim-enhanced-8.2.2637 wget-1.21.1 &&\
RUN microdnf install -y python3.11-3.11.7 python3.11-devel-3.11.7 vim-enhanced-8.2.2637 wget-1.21.1 &&\
microdnf clean all
RUN ln -s /usr/bin/python3.11 /usr/local/bin/python3 && \
ln -s /usr/bin/python3.11 /usr/local/bin/python &&\
Expand All @@ -16,6 +16,12 @@ RUN mkdir /data && chown 1000:1000 /data
COPY client ./qs
WORKDIR /qs

# Need versions of pip/setuptools more recent than provided by UBI image
RUN python3.11 -m ensurepip --upgrade

RUN pip install --upgrade --no-cache-dir pip>=24.2 &&\
pip install --upgrade --no-cache-dir setuptools>=72.1.0

RUN pip install -r requirements.txt --no-cache-dir &&\
pip install . --no-cache-dir &&\
pip install --no-cache-dir pyarrow==14.0.1 &&\
Expand Down
1 change: 1 addition & 0 deletions client/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ opentelemetry.instrumentation.requests>=0.40b0
ipywidgets>=8.1.2
ipython>=8.10.0
numpy>=1.26.4,<2
aiohttp>=3.10.0

0 comments on commit 2ce66d4

Please sign in to comment.