ADD file:49f57596962113c3c41279525f4e356babf54415c63af2dbf9d3b71642cf423d in / |
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || : |
ADD file:ecc29a1455ca1b7c82018555e16e2e802135974523df6748e431f8707e759ddd in /tmp/tls-ca-bundle.pem |
ADD multi:76ed2bd9c036240d42925ff871f73866e886bea98859bc8c40c9fb05e07b6fb9 in /etc/yum.repos.d/ |
LABEL maintainer="Red Hat, Inc." |
LABEL com.redhat.component="ubi9-container" name="ubi9" version="9.3" |
LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" |
LABEL summary="Provides the latest release of Red Hat Universal Base Image 9." |
LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." |
LABEL io.k8s.display-name="Red Hat Universal Base Image 9" |
LABEL io.openshift.expose-services="" |
LABEL io.openshift.tags="base rhel9" |
ENV container oci |
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
CMD ["/bin/bash"] |
/bin/sh -c rm -rf /var/log/* |
/bin/sh -c mkdir -p /var/log/rhsm |
LABEL release=1610 |
ADD file:5c044b2f97600771ae4c6dedc6ffb1230609e7a1c16fc81371a5b25b24a5d48e in /root/buildinfo/content_manifests/ubi9-container-9.3-1610.json |
ADD file:c4dee968aa55387598edc7a709f7a93db58ea7cc3df10935dea7105b5f88056f in /root/buildinfo/Dockerfile-ubi9-9.3-1610 |
LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-02-29T13:57:42" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="eb726081eeafc660c182aae53074ec6631cb473e" "io.k8s.description"="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.3-1610" |
/bin/sh -c rm -f '/etc/yum.repos.d/repo-3cf8a.repo' '/etc/yum.repos.d/repo-e6c6f.repo' |
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem |
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || : |
ARG PS_VERSION=7.3.0-preview.8 |
ARG PS_INSTALL_VERSION=7-preview |
RUN |2 PS_VERSION=7.4.2 PS_INSTALL_VERSION=7 /bin/sh -c yum install -y less ncurses openssh-clients openssl glibc-locale-source glibc-langpack-en libicu && yum clean all # buildkit |
RUN |2 PS_VERSION=7.4.2 PS_INSTALL_VERSION=7 /bin/sh -c yum localinstall -y /mnt/rpm/linux.rpm && yum upgrade -y && yum clean all # buildkit |
ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/7 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-UBI-9 OPENSSL_ENABLE_SHA1_SIGNATURES=1 |
RUN |2 PS_VERSION=7.4.2 PS_INSTALL_VERSION=7 /bin/sh -c localedef --charmap=UTF-8 --inputfile=en_US $LANG && chmod a+x,o-w ${PS_INSTALL_FOLDER}/pwsh && ln -sf ${PS_INSTALL_FOLDER}/pwsh /usr/bin/pwsh && ln -sf ${PS_INSTALL_FOLDER}/pwsh /usr/bin/pwsh-preview && export POWERSHELL_TELEMETRY_OPTOUT=1 && pwsh -NoLogo -NoProfile -Command " \$ErrorActionPreference = 'Stop' ; \$ProgressPreference = 'SilentlyContinue' ; while(!(Test-Path -Path \$env:PSModuleAnalysisCachePath)) { Write-Host "'Waiting for $env:PSModuleAnalysisCachePath'" ; Start-Sleep -Seconds 6 ; }" # buildkit |
CMD ["pwsh-preview"] |
RUN /bin/sh -c /opt/microsoft/powershell/7/pwsh -Command Set-PSRepository -Name 'PSGallery' -Verbose -InstallationPolicy Trusted && /opt/microsoft/powershell/7/pwsh -Command Install-Module VMware.PowerCLI -Verbose -Scope AllUsers -AllowClobber -AcceptLicense -Confirm:\$false # buildkit |