Installing Google Chrome on UBI8

Latest response

I want to install Google Chrome in the container whose base image is UBI8.

but some library couldn't be installed. How to install them?

7 5.464 Problem: conflicting requests
7 5.464 - nothing provides liberation-fonts needed by google-chrome-stable-91.0.4472.101-1.x86_64
7 5.464 - nothing provides libvulkan.so.1()(64bit) needed by google-chrome-stable-91.0.4472.101-1.x86_64
7 5.464 - nothing provides xdg-utils needed by google-chrome-stable-91.0.4472.101-1.x86_64

Here is my Dockerfile.

FROM registry.access.redhat.com/ubi8/ubi
ADD google-chrome.repo /tmp/google-chrome.repo

RUN INSTALL_PKGS='google-chrome-stable' && \
    mv /tmp/google-chrome.repo /etc/yum.repos.d && \
    dnf -y install $INSTALL_PKGS && \
    rpm -V $INSTALL_PKGS

Responses