Created
August 19, 2022 07:15
-
-
Save icheko/c9201cab4d19cc84c62ab611cf12878d to your computer and use it in GitHub Desktop.
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 characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment