diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/Containerfile b/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/Containerfile index 2a1957920..78d39555b 100644 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/Containerfile +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/Containerfile @@ -99,7 +99,7 @@ ENV SETUP_LINUX_FILE="setupLinuxEnv.sh" \ FROM racbase AS rac-image-slim-false ARG SLIMMING ARG VERSION -ENV CV_ASSUME_DISTID=OEL7.8 +ENV CV_ASSUME_DISTID=OL8 # Environment variables required for this build (do NOT change) # ------------------------------------------------------------- # Linux Env Variable @@ -145,7 +145,7 @@ RUN chmod 755 $INSTALL_SCRIPTS/*.sh && \ FROM racbase AS rac-image-slim-true ARG SLIMMING ARG VERSION -ENV CV_ASSUME_DISTID=OEL7.8 +ENV CV_ASSUME_DISTID=OL8 # Environment variables required for this build (do NOT change) # ------------------------------------------------------------- diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/setupLinuxEnv.sh b/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/setupLinuxEnv.sh index a54e40f80..78aeb272d 100755 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/setupLinuxEnv.sh +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/setupLinuxEnv.sh @@ -14,21 +14,8 @@ # Setup filesystem and oracle user # Adjust file permissions, go to /opt/oracle as user 'oracle' to proceed with Oracle installation # ------------------------------------------------------------ -## Use OCI yum repos on OCI instead of public yum -region=$(curl --noproxy '*' -sfm 3 -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/ | sed -nE 's/^ *"regionIdentifier": "([^"]+)".*/\1/p') -if [ -n "$region" ]; then - echo "Detected OCI Region: $region" - for proxy in $(printenv | grep -i _proxy | cut -d= -f1); do unset $proxy; done - echo "-$region" > /etc/yum/vars/ociregion -fi -# Refer Doc ID 2760289.1 for error- "libxcrypt-compat compat-openssl11" only available in OL9 -# Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile '/u01/app/oracle/product/19c/dbhome_1/rdbms/lib/ins_rdbms.mk'. mkdir /asmdisks && \ mkdir /responsefiles && \ chmod ug+x /opt/scripts/startup/*.sh && \ -yum -y install systemd oracle-database-preinstall-19c net-tools which zip \ -unzip tar openssl expect e2fsprogs openssh-server vim-minimal passwd which \ -sudo hostname policycoreutils-python-utils python3 lsof rsync libxcrypt-devel \ -libxcrypt fontconfig libvirt-libs librdmacm libibverbs liblsan libasan \ -libxcrypt-compat compat-openssl11 && \ -yum clean all +dnf -y install oracle-database-preinstall-19c systemd vim-minimal passwd openssh-server hostname xterm xhost vi policycoreutils-python-utils lsof openssl libxcrypt-compat net-tools which zip unzip tar sudo && \ +dnf clean all \ No newline at end of file