in Dockerfile builds outside of OBS it is possible to install additional repositories and import the associated keys at build time using, for example:
RUN zypper ar -f -p 100 http://download.opensuse.org/repositories/openSUSE:infrastructure/15.4/ "openSUSE:infrastructure"
RUN zypper -n --gpg-auto-import-keys ref
Hello,
in Dockerfile builds outside of OBS it is possible to install additional repositories and import the associated keys at build time using, for example:
In https://github.com/openSUSE/obs-build/blob/master/obs-docker-support#L65, all
refresh
activity is cancelled out - this makes sense, as repositories do not need to refreshed in the build environment, however it does not offer an alternative to import signing keys.A workaround is to use the
download_assets
service:Needless to say, that route is a bit ugly.
It would be nice if there was a native way to import signing keys of additional OBS repositories.