Skip to content

Commit

Permalink
update sles docker to rocm5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Austen committed Aug 30, 2023
1 parent 4bce712 commit cd111d6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tools/docker/sles.docker
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM registry.suse.com/suse/sle15:15.4
RUN sh -c 'echo -e "\
[rocm]\n\
name=rocm\n\
baseurl=https://repo.radeon.com/rocm/zyp/5.5/main\n\
baseurl=https://repo.radeon.com/rocm/zyp/5.6/main\n\
enabled=1\n\
gpgcheck=1\n\
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key\n\
Expand All @@ -19,7 +19,16 @@ RUN zypper --gpg-auto-import-keys install -y \
gcc-c++ \
gdb \
git \
python3-pip
python3-pip \
rpm-build

#addition of repos for packages
RUN OPENSUSE_REPO=https://download.opensuse.org/repositories && \
zypper addrepo ${OPENSUSE_REPO}/science/SLE_15_SP4/science.repo && \
zypper addrepo ${OPENSUSE_REPO}/server:/http/15.4/server:http.repo && \
zypper addrepo ${OPENSUSE_REPO}/devel:/languages:/perl/SLE_15_SP4/devel:languages:perl.repo && \
zypper addrepo ${OPENSUSE_REPO}/devel:/tools/15.4/devel:tools.repo && \
zypper addrepo ${OPENSUSE_REPO}/multimedia:/libs/15.4/multimedia:libs.repo

# Workaround broken rocm packages
RUN ln -s /opt/rocm-* /opt/rocm
Expand Down

0 comments on commit cd111d6

Please sign in to comment.