Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
# -------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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