obs-build
obs-build copied to clipboard
Support zypper ar foo.repo in Dockerfile builds
When passing a .repo
file to zypper ar
, it has to download the file, which doesn't work inside the OBS build environment.
Instead, it could rewrite such calls to perform the plain zypper ar url alias
instead.
RUN zypper ar http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_Factory/openSUSE:Tools.repo
I pushed a hot fix for this very special case, but this needs some further cleanup, so I keep this open.
This bit me today too. If you explain to me what the cleanup is I will happily implement it @adrianschroeter .