From 1d3ca8877bea8405af8cfa9bfbe019ed3e8762b5 Mon Sep 17 00:00:00 2001 From: Adrian Png Date: Tue, 4 Apr 2023 18:57:40 -0700 Subject: [PATCH] Experimental support for DB23c FREE! --- 01-build.sh | 8 ++++++-- README.md | 2 ++ quickstart.sh | 8 ++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/01-build.sh b/01-build.sh index 46003fa..e6105b9 100755 --- a/01-build.sh +++ b/01-build.sh @@ -46,14 +46,18 @@ if [ -d 'dockerfiles' ]; then fi echo "##### Grabbing official Docker images from Oracle #####" -git clone https://github.com/oracle/docker-images.git tmp +git clone https://github.com/fuzziebrain/docker-images.git tmp mv tmp/OracleDatabase/SingleInstance/dockerfiles/ . rm -rf tmp/ echo "##### Staging RPM #####" -if [ $DB_VERSION = '21.3.0' ]; then +if [ $DB_VERSION = '23.2.0' ]; then + if [ $DB_EDITION = 'free' ]; then + echo "Do nothing." + fi +elif [ $DB_VERSION = '21.3.0' ]; then if [ $DB_EDITION = 'xe' ]; then DOCKER_FILE=Dockerfile.$DB_EDITION if [[ $XE_USE_LOCAL_COPY =~ (Y|y) ]]; then diff --git a/README.md b/README.md index 86233b2..7ed4d49 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Build an APEX Stack with Docker +> **NOTE** This branch provides experimental and temporary support for the newly release [Oracle Database Free 23c](https://www.oracle.com/database/free/). + > For background information on this repository, please read this [blog post](https://fuzziebrain.com/content/id/1902/). ## Prerequisites diff --git a/quickstart.sh b/quickstart.sh index 0529d78..32b9663 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -47,8 +47,8 @@ while do true; done cat << EOF > $ENV_FILE_NAME -ORACLE_SID=XE -ORACLE_PDB=XEPDB1 +ORACLE_SID=FREE +ORACLE_PDB=FREEPDB1 ORACLE_PWD=$ORACLE_PWD APEX_ADMIN_PWD=$ORACLE_PWD APEX_PUBLIC_USER_PWD=$ORACLE_PWD @@ -61,8 +61,8 @@ INSTALL_FILE_JAVA=java17 DOCKER_ORDS_PORT=8080 DOCKER_EM_PORT=5500 DOCKER_DB_PORT=1521 -DB_VERSION=21.3.0 -DB_EDITION=xe +DB_VERSION=23.2.0 +DB_EDITION=free DOCKER_NETWORK_NAME=das_network ALLOW_DB_PATCHING=N OML4R_SUPPORT=N