Skip to content

Commit

Permalink
feat: drop to build, install pkgs instead
Browse files Browse the repository at this point in the history
  • Loading branch information
supersonictw committed Nov 19, 2023
1 parent b3b7064 commit c653dd6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 71 deletions.
File renamed without changes.
19 changes: 10 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM debian:bookworm-slim
FROM debian:trixie-slim

ADD build /build
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
python-is-python3 python3-pip python3-venv pipx \
rocm-cmake rocm-device-libs rocm-smi rocminfo \
librccl1 libamdhip64-dev

WORKDIR /build
RUN bash dpkg.sh
RUN bash rocm.sh
RUN bash ipython.sh

#RUN rm -rf /build
RUN python3 -m pipx ensurepath
RUN pipx install ipython

WORKDIR /root
CMD ["/usr/local/bin/ipython"]

CMD ["/usr/bin/env ipython"]
10 changes: 0 additions & 10 deletions build/dpkg.sh

This file was deleted.

6 changes: 0 additions & 6 deletions build/ipython.sh

This file was deleted.

34 changes: 0 additions & 34 deletions build/rocm.sh

This file was deleted.

12 changes: 0 additions & 12 deletions build/rocm_env.sh

This file was deleted.

0 comments on commit c653dd6

Please sign in to comment.