Commit df7ba95e authored by Abraham, Subil's avatar Abraham, Subil
Browse files

updating olcfbaseimages to be sorted by system in separate directories

parent 470bb2cf
Loading
Loading
Loading
Loading
+14 −3
Original line number Diff line number Diff line
@@ -16,14 +16,25 @@ RUN zypper addrepo https://download.opensuse.org/repositories/devel:languages:p
ENV ver=5.5.1


ADD ./amdgpu.repo /etc/zypp/repos.d/amdgpu.repo
# TODO (subil): replace this with the heredoc syntax (https://docs.docker.com/engine/reference/builder/#here-documents) when Podman is upgraded to at least 4.8.0
RUN echo $'[amdgpu]\n\
name=amdgpu\n\
baseurl=https://repo.radeon.com/amdgpu/5.5.1/sle/15.4/main/x86_64\n\
enabled=1\n\
gpgcheck=1\n\
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key' > /etc/zypp/repos.d/amdgpu.repo
RUN cat /etc/zypp/repos.d/amdgpu.repo

RUN zypper --non-interactive  --no-gpg-checks ref

ADD ./rocm.repo /rocm.repo

RUN cat /rocm.repo >> /etc/zypp/repos.d/rocm.repo
RUN echo $'[ROCm-5.5.1]\n\
name=ROCm5.5.1\n\
name=rocm\n\
baseurl=https://repo.radeon.com/rocm/zyp/5.5.1/main\n\
enabled=1\n\
gpgcheck=1\n\
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key' >> /etc/zypp/repos.d/rocm.repo
RUN cat /etc/zypp/repos.d/rocm.repo
RUN zypper --non-interactive  --no-gpg-checks ref

Loading