Created
August 19, 2022 07:15
Revisions
-
icheko created this gist
Aug 19, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ FROM registry.access.redhat.com/ubi8/nodejs-14:1 USER root # Setup to download updates from RH COPY ./rhsm-entitlement /etc/pki/entitlement RUN rm /etc/rhsm-host # Install Chrome RUN dnf upgrade --refresh rpm glibc && \ curl https://dl.google.com/linux/linux_signing_key.pub -O && rpm --import linux_signing_key.pub && \ curl https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm -O && rpm --checksig -v google-chrome-stable_current_x86_64.rpm && \ dnf install -y google-chrome-stable_current_x86_64.rpm && \ rm -rfv /etc/pki/entitlement && \ rm -fv google-chrome-stable_current_x86_64.rpm && \ rm -fv linux_signing_key.pub USER 1001