Here are some of the errors I get
[SUSE-REPO|http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no] Valid metadata not found at specified URL
History:
Sorry, but it is rather unclear to me what you are doing. You say you are “downloading”, but I see no command (or tool) that you use.
Also you post some URLs of repositories. Normaly one does not "download from them, but add repositories (with YaST > Software > repository Management or zypper ar) to one’s repo list. After that one can install software from it.
So please explain what you are doing, or maybe better explain what your goal is.
These are the commands I am using in my Dockerfile
ARG SUSE_PKG_REPO_URL=http://download.opensuse.org/distribution/openSUSE-stable/repo/oss
ARG GANESHA_PKG_REPO_URL=https://download.opensuse.org/repositories/home:/glusterfs:/SLES15-nfs-ganesha-2.7/SLE_15/
RUN zypper refresh && zypper ar -C -G -f ${SUSE_PKG_REPO_URL}?ssl_verify=no SUSE-REPO
&& zypper ar -C -G -f ${GANESHA_PKG_REPO_URL}?ssl_verify=no GANESHA-REPO
&& zypper clean --all
[SUSE-REPO|["]http://download.opensuse.org/distrib...ssl_verify=no]](http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no) Valid metadata not found at specified URL
History:
- File './repodata/ee17b27ef91d0fb16ac7311f04afe362fe2efeb1a90ff4d97811237ff14e7bec-primary.xml.gz' not found on medium 'http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no'
- Can't provide ./repodata/ee17b27ef91d0fb16ac7311f04afe362fe2efeb1a90ff4d97811237ff14e7bec-primary.xml.gz
[91mFile './x86_64/libntirpc3_2-3.2+git0.8d07e25a7-lp152.3.2.x86_64.rpm' not found on medium 'http://download.opensuse.org/distribution/openSUSE-stable/repo/oss?ssl_verify=no'
RUN is similar to a shell command. the args inside ${} are replaced with their corresponding values so its just equivalent to running these on terminal