On Freitag, 29. Mai 2020, 10:01:28 CEST wrote Olaf Hering:
Am Fri, 29 May 2020 08:06:14 +0200 schrieb Adrian Schröter <adrian@suse.de>:
On Donnerstag, 28. Mai 2020, 20:34:45 CEST wrote Olaf Hering:
What is the required syntax to use binary packages from the same prj in a Dockerfile?
It is not important that they are published, since these URLs are parsed and are mapped to the repositories inside of OBS. So it is enough when they are build (and you did not play with useforbuild flag)
Thanks for the reply.
But what is the answer to the actual question? Is there no support for 'RUN zypper ar -cf same_prj/repository reponame'?
as coolo wrote, you can just reference the repo you are building inside. Assuming the path elements are okay (they are after a branch) you should be fine by just using it. The hint for OBS to do so is #!UseOBSRepositories inside of the Dockerfile -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org