-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
rhel-8.9.0
-
None
-
None
-
Moderate
-
TestCaseProvided
-
rhel-sst-container-tools
-
3
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
x86_64
-
None
What were you trying to do that didn't work?
Trying to build an image using buildah bud
Please provide the package NVR for which bug is seen: pkgconf-m4
How reproducible: 100%
Steps to reproduce
- Dockerfile
FROM registry.redhat.io/ubi8/ubi:latest
USER root
ENV HOME=/home/ocp
ENV TERM="xterm-256color"
ENV PS1="[\W]# "
ENV LS_COLORS="(redacted)"
ENV REGISTRY_AUTH_FILE="/home/ocp/auth.json"
RUN dnf install --disablerepo=rhel-8-for-x86_64-appstream-rpms --disablerepo=rhel-8-for-x86_64-baseos-rpms -y container-selinux && dnf clean all -y && rm -rf /var/cache/dnf
RUN dnf install -y pkgconf-m4 - using buildah on RHEL 8.9
buildah --storage-driver=vfs bud --format=oci --tls-verify=true --no-cache -f /tmp/03832740/Dockerfile -t ubi-test
Expected results
The pckconf-m4 should be installed without any issues.
Actual results
STEP 9/9: RUN dnf install -y pkgconf-m4
.....
Error: Cannot create repo temporary directory "/var/cache/dnf/rhel-8-for-x86_64-baseos-rpms-ae020183d801ada1/libdnf.x6bqzH": Success
Error: building at STEP "RUN dnf install -y pkgconf-m4": while running runtime: exit status 1
ADDITIONAL NOTE:
the same dockerfile is working with podman build
podman build --format=oci --tls-verify=true --no-cache -f /tmp/03832740/Dockerfile -t ubi-test1
- links to