From cd111d61cdece26fb21683ee7e0e4ea3a6a4a5ee Mon Sep 17 00:00:00 2001 From: Chris Austen Date: Wed, 30 Aug 2023 00:16:14 +0000 Subject: [PATCH] update sles docker to rocm5.6 --- tools/docker/sles.docker | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tools/docker/sles.docker b/tools/docker/sles.docker index 9885c132a2f..f81ec948aec 100644 --- a/tools/docker/sles.docker +++ b/tools/docker/sles.docker @@ -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\ @@ -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