Skip to content

Commit 1871268

Browse files
aditya059gvenzl
andauthored
Aditya059/bugfix for issue 2989 (#2990)
* Replaced 23.5 with 23.6 dockerfiles * Fixed if check for arm platform --------- Co-authored-by: Gerald Venzl <[email protected]>
1 parent 2e1abdd commit 1871268

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

OracleDatabase/SingleInstance/dockerfiles/buildContainerImage.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,16 +179,16 @@ done
179179
# Check that we have a container runtime installed
180180
checkContainerRuntime
181181

182-
# Only 19c EE is supported on ARM64 platform
182+
# Only 19c EE and 23ai Free are supported on ARM64 platform
183183
if [ "$(arch)" == "aarch64" ] || [ "$(arch)" == "arm64" ]; then
184184
BUILD_OPTS=("--build-arg" "BASE_IMAGE=oraclelinux:8" "${BUILD_OPTS[@]}")
185185
PLATFORM=".arm64"
186-
if { [ "${VERSION}" == "19.3.0" ] && [ "${ENTERPRISE}" -eq 1 ]; }; then
186+
if [ "${VERSION}" == "19.3.0" ] && { [ "${BASE_ONLY}" -eq 1 ] || [ "${ENTERPRISE}" -eq 1 ]; }; then
187187
BUILD_OPTS=("--build-arg" "INSTALL_FILE_1=LINUX.ARM64_1919000_db_home.zip" "${BUILD_OPTS[@]}")
188188
elif { [ "${VERSION}" == "23.6.0" ] && [ "${FREE}" -eq 1 ]; }; then
189189
BUILD_OPTS=("--build-arg" "INSTALL_FILE_1=https://download.oracle.com/otn-pub/otn_software/db-free/oracle-database-free-23ai-1.0-1.el8.aarch64.rpm" "${BUILD_OPTS[@]}")
190190
else
191-
echo "Currently only 19c enterprise edition is supported on ARM64 platform.";
191+
echo "Currently only 19c enterprise edition and 23ai Free are supported on ARM64 platform.";
192192
exit 1;
193193
fi;
194194
fi;

0 commit comments

Comments
 (0)