Skip to content

Commit

Permalink
fix: add ca-certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
supersonictw authored Nov 19, 2023
1 parent 9c544f6 commit da5246e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
FROM ubuntu:focal

RUN apt-get update
RUN apt-get install -y --no-install-recommends ca-certificates

RUN mkdir --parents --mode=0755 /etc/apt/keyrings
RUN wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | tee /etc/apt/keyrings/rocm.gpg

RUN echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/debian focal main" | tee /etc/apt/sources.list.d/rocm.list
RUN echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | tee /etc/apt/preferences.d/rocm-pin-600

RUN apt-get update
RUN apt-get install rocm-hip-libraries
RUN apt-get install -y --no-install-recommends rocm-hip-libraries

RUN python -m venv /root/.uruha_python
RUN /root/.uruha_python/bin/pip install ipython
Expand Down

0 comments on commit da5246e

Please sign in to comment.