I'm getting very obfustaden error message: '-1 running transaction' when launching microdnf update in the docker build executed by kaniko.
It's not directly caused by running in kaniko context, actually it's enough to build with kaniko from image based on microdnf-based distribution, log ins image and run microdnf update.
The Dockerfile to replicate:
FROM quay.io/keycloak/keycloak:11.0.3
ENV LD_LIBRARY_PATH=/usr/lib64:/usr/lib
USER root
RUN microdnf update -y && microdnf clean all
The error message:
Cleanup: libgcc;8.3.1-5.1.el8;x86_64;installed
error: Error -1 running transaction
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
expected
Ideally, update should work. But I assume, there's an underlying problem which I'm unable to spot because of the obfuscated error message. So I expect to get real error message.
actual
I'm getting very obfustaden error message: '-1 running transaction' when launching microdnf update in the docker build executed by kaniko.
It's not directly caused by running in kaniko context, actually it's enough to build with kaniko from image based on microdnf-based distribution, log ins image and run microdnf update.
The Dockerfile to replicate:
The error message:
expected
Ideally, update should work. But I assume, there's an underlying problem which I'm unable to spot because of the obfuscated error message. So I expect to get real error message.