Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-6125

Kogito Operator default Builder broken

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.15.0.Final
    • None
    • None
    • None

    Description

      Building the operator with cekit 3.8.0 or 3.12, shows to this error:

      2021-10-18 17:43:16,318 podman.py:48         INFO  Building container image...
      2021-10-18 17:43:16,318 podman.py:52         DEBUG Running Podman build: '/usr/bin/podman build --squash -t operator-runtime:1.0.0 -t operator-runtime:latest target/image'
      [1/2] STEP 1/18: FROM golang:1.16 AS operator-builder
      [2/2] STEP 1/11: FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
      Error: error creating build container: loading registries configuration "/home/max/.config/containers/registries.conf": toml: type mismatch for sysregistriesv2.V1TOMLConfig: expected table but found []interface {}
      2021-10-18 17:43:16,360 cli.py:346        ERROR Image build failed, see logs above.
      
      

      Changing in the make file the builder from podman to docker fix the problem

      BUILDER ?= docker
      

      Attachments

        Activity

          People

            mdessi-1 Massimiliano Dessi
            mdessi-1 Massimiliano Dessi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: