Hi, Am Montag, 4. November 2019, 11:34:21 CET schrieb Oliver Kurz:
since some days containers in OBS using the Dockerfile fail to fail to resolve due to
``` have choice for product_flavor(openSUSE) needed by openSUSE-release: openSUSE- release-appliance-custom openSUSE-release-appliance-docker openSUSE-release- appliance-hyperv openSUSE-release-appliance-kvm openSUSE-release-appliance- openstack openSUSE-release-appliance-vagrant openSUSE-release-appliance-vmware openSUSE-release-appliance-wsl openSUSE-release-ftp ```
Unfortunately a manifestation of a missing OBS feature: https://github.com/openSUSE/obs-build/issues/487 A complex issue, so unfortunately no progress on that. I added a manual selection into the Dockerfile template for now.
If I set `Prefer: openSUSE-release-appliance-docker` in the project config I get
``` error running container: error creating container for [/bin/sh -c obs-docker- support --install]: time="2019-10-27T15:23:32Z" level=error msg="systemd cgroup flag passed, but systemd support for managing cgroups is not available ```
e.g. in https://build.opensuse.org/package/live_build_log/ home:okurz:container/yamllint/containers/x86_64
This is reproducible also when creating a new project based on the wizard following https://build.opensuse.org/image_templates selecting "Templates using openSUSE Tumbleweed", "Container built using docker tool".
Confirmed. I switched BuildEngine from podman to docker again and it seems to work: https://build.opensuse.org/package/live_build_log/openSUSE:Templates:Images:... Needs some more investigation. Cheers, Fabian
By comparison, a container built based on Leap 15.1 seems fine: https:// build.opensuse.org/package/show/home:okurz:branches:openSUSE:Templates:Images: 15.1/container_test
Any ideas how to fix the container build using Dockerfile?
Could this be linked to recent changes in openSUSE:Factory project setup, e.g. the "download-on-demand" repos?
I am trying on this mailing list after receiving no response on https://lists.opensuse.org/opensuse-buildservice/2019-10/msg00078.html
Have fun, Oliver
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org