obs-build icon indicating copy to clipboard operation
obs-build copied to clipboard

Support zypper ar foo.repo in Dockerfile builds

Open Vogtinator opened this issue 3 years ago • 2 comments

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

Vogtinator avatar Aug 27 '20 08:08 Vogtinator

I pushed a hot fix for this very special case, but this needs some further cleanup, so I keep this open.

adrianschroeter avatar Apr 20 '21 13:04 adrianschroeter

This bit me today too. If you explain to me what the cleanup is I will happily implement it @adrianschroeter .

SchoolGuy avatar Apr 04 '23 14:04 SchoolGuy