Cannot build use Leap 16 as base in OBS Dockerfile build #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dockerfile in OBS with
in project with
will give
my patch openSUSE/Leap#26 was supposed to solve it but it still does not work.
@lkocman
i think we broke Leap builds. check if it works again after openSUSE/Leap#31 is merged
please check again now
still does not work, but is that change actually deployed?
osc meta prjconf openSUSE:Leap:16.0does not match https://src.opensuse.org/openSUSE/Leap/src/branch/leap-16.0/_config from what I can tell - or is it a different project?looks in sync to me.
now it is for me as well (but I am rather sure it wasn't at the time I posted the comment ...), anyways - still getting the same error: buildinfo.txt.
how if you add this line to your prjconf?
Substitute: system-packages:docker kmod kernel-default Leap-release docker createrepo_c container-build-checks-vendor-SUSE skopeo umociwith that line I get
if I additionally add
it works.
I also tried
Prefer: docker-stable-buildxbecause I don't know the difference, but that one causedso figured the first one is right.
interestingly though albeit it now (with the project config additions above) doing something locally with
osc build --no-verify containersit still shows as "excluded" on the server: https://build.opensuse.org/package/show/home:crameleon:test16/test16 (not sure if that is related - also tried to explicitly enable it in the package meta but it did not help).you need to define what type to build on "containers" repo, add a
Type: dockerto your project configlike this,
'''
%if "%_repository" == "containers"
Type: docker
%endif
'''
It was not needed with 15.6, where I was able to build against openSUSE:Templates:Images:15.6 which defined
for me (assuming one uses the standard "containers" or "images" names).
you're build against
openSUSE:Containers:Leap:16.0now which doesn't have such configurations.I understand, I am asking if this is by design that we no longer provide such configuration out of the box?
and another issue, package installation during the build
makes it try to connect with internet repositories - that naturally fails:
I found that last one is related to obs-docker-support, I reported it at https://github.com/openSUSE/obs-build/issues/1107.
dummy-release problem has been fixed via openSUSE/Leap#32