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?
Last time I created an image I used something like this (with expanded variables) to make the packages known at build time:
RUN zypper ar -cf "http://download.opensuse.org/repositories/${prj}/${repository}" "reponame"
This can not work if one branches a pkg from another prj because the binaries from the own prj are not published.
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)
And even if they are published, the URL must be adjusted prior submit request.
Olaf
-- 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