File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828# Build
2929# -----
3030
31- FROM nvidia/cuda:13.2.1-devel-ubuntu24.04 as builder
32- MAINTAINER Siavash Ameli <samei @berkeley.edu>
31+ FROM nvidia/cuda:13.2.1-devel-ubuntu24.04 AS builder
32+ LABEL maintainer= " Siavash Ameli <sameli @berkeley.edu>"
3333LABEL Description="imate python package with cuda-13 support"
3434
3535ENV DEBIAN_FRONTEND=noninteractive
@@ -87,14 +87,14 @@ RUN apt-get update && \
8787# Copy the wheel from the previous build (on NVIDIA cuda-devel image) and
8888# install it on this image.
8989COPY --from=builder /tmp/imate/dist/*.whl /tmp/
90- RUN /usr/bin/python3 -m pip --no-cache-dir install /tmp/*.whl
90+ RUN /usr/bin/python3 -m pip --no-cache-dir install --break-system-packages /tmp/*.whl
9191RUN rm /tmp/*.whl
9292
9393# Create a startup file to auto-import package when python starts
9494RUN echo "import imate" > /home/.start_python.py
9595ENV PYTHONSTARTUP=/home/.start_python.py
9696ENV PATH=$PATH:/usr/bin/
97- RUN /usr/bin/python3 -m pip install --upgrade pip ipython jupyter
97+ RUN /usr/bin/python3 -m pip install --break-system-packages ipython jupyter
9898
9999# Change working directory for entrypoint
100100VOLUME ["/root" ]
You can’t perform that action at this time.
0 commit comments