Skip to content

Commit f528c28

Browse files
committed
fix docker again
1 parent 5be91f4 commit f528c28

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
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>"
3333
LABEL Description="imate python package with cuda-13 support"
3434

3535
ENV 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.
8989
COPY --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
9191
RUN rm /tmp/*.whl
9292

9393
# Create a startup file to auto-import package when python starts
9494
RUN echo "import imate" > /home/.start_python.py
9595
ENV PYTHONSTARTUP=/home/.start_python.py
9696
ENV 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
100100
VOLUME ["/root"]

0 commit comments

Comments
 (0)