Skip to content

Commit

Permalink
Move adding repo before zypper install command for sles docker (#3401)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsan-ca authored Aug 24, 2024
1 parent f0496ed commit 934f087
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/docker/sles.docker
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key\n\

RUN cat /etc/zypp/repos.d/rocm.repo

#addition of repos for packages
RUN zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/perl/15.5/devel:languages:perl.repo 

RUN zypper -n --gpg-auto-import-keys refresh

RUN zypper install -y -t pattern devel_basis enhanced_base
Expand All @@ -22,9 +25,6 @@ RUN zypper --gpg-auto-import-keys install -y \
python3-pip \
rpm-build

#addition of repos for packages
RUN zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/perl/15.5/devel:languages:perl.repo 

# Workaround broken rocm packages
RUN ln -s /opt/rocm-* /opt/rocm
RUN echo "/opt/rocm/lib" > /etc/ld.so.conf.d/rocm.conf
Expand Down

0 comments on commit 934f087

Please sign in to comment.