Why docker build process gets hung while executing "rpm -e --allmatches gpg-pubkey-d38b4796-570c8cd3" in Red Hat Enterprise Linux 7 ?

Solution Unverified - Updated -

Issue

  • Why docker build process gets hung while executing "rpm -e --allmatches gpg-pubkey-d38b4796-570c8cd3" in Red Hat Enterprise Linux 7 ?
    Sample Dockerfile
FROM rhel7
USER root
ENV HOME=/home/jenkins

COPY google-chrome.repo /etc/yum.repos.d/google-chrome.repo

RUN yum update -y && \
    yum-config-manager --enable rhel-server-rhscl-7-rpms && \
    yum-config-manager --disable epel >/dev/null || : && \
    yum install -y gcc-c++ make google-chrome-stable && \
    yum clean all

Environment

  • Red Hat Enterprise Linux 7
  • docker-1.12.6-61.git85d7426.el7.x86_64
  • google-chrome-stable package is included in the docker build

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.