Skip to content

Commit b18445b

Browse files
authored
remove unwanted packages (#3027)
1 parent b34ce4d commit b18445b

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/Containerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ENV SETUP_LINUX_FILE="setupLinuxEnv.sh" \
9999
FROM racbase AS rac-image-slim-false
100100
ARG SLIMMING
101101
ARG VERSION
102-
ENV CV_ASSUME_DISTID=OEL7.8
102+
ENV CV_ASSUME_DISTID=OL8
103103
# Environment variables required for this build (do NOT change)
104104
# -------------------------------------------------------------
105105
# Linux Env Variable
@@ -145,7 +145,7 @@ RUN chmod 755 $INSTALL_SCRIPTS/*.sh && \
145145
FROM racbase AS rac-image-slim-true
146146
ARG SLIMMING
147147
ARG VERSION
148-
ENV CV_ASSUME_DISTID=OEL7.8
148+
ENV CV_ASSUME_DISTID=OL8
149149

150150
# Environment variables required for this build (do NOT change)
151151
# -------------------------------------------------------------

OracleDatabase/RAC/OracleRealApplicationClusters/containerfiles/19.3.0/setupLinuxEnv.sh

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,8 @@
1414
# Setup filesystem and oracle user
1515
# Adjust file permissions, go to /opt/oracle as user 'oracle' to proceed with Oracle installation
1616
# ------------------------------------------------------------
17-
## Use OCI yum repos on OCI instead of public yum
18-
region=$(curl --noproxy '*' -sfm 3 -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/ | sed -nE 's/^ *"regionIdentifier": "([^"]+)".*/\1/p')
19-
if [ -n "$region" ]; then
20-
echo "Detected OCI Region: $region"
21-
for proxy in $(printenv | grep -i _proxy | cut -d= -f1); do unset $proxy; done
22-
echo "-$region" > /etc/yum/vars/ociregion
23-
fi
24-
# Refer Doc ID 2760289.1 for error- "libxcrypt-compat compat-openssl11" only available in OL9
25-
# Error in invoking target 'libasmclntsh19.ohso libasmperl19.ohso client_sharedlib' of makefile '/u01/app/oracle/product/19c/dbhome_1/rdbms/lib/ins_rdbms.mk'.
2617
mkdir /asmdisks && \
2718
mkdir /responsefiles && \
2819
chmod ug+x /opt/scripts/startup/*.sh && \
29-
yum -y install systemd oracle-database-preinstall-19c net-tools which zip \
30-
unzip tar openssl expect e2fsprogs openssh-server vim-minimal passwd which \
31-
sudo hostname policycoreutils-python-utils python3 lsof rsync libxcrypt-devel \
32-
libxcrypt fontconfig libvirt-libs librdmacm libibverbs liblsan libasan \
33-
libxcrypt-compat compat-openssl11 && \
34-
yum clean all
20+
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 && \
21+
dnf clean all

0 commit comments

Comments
 (0)