File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ echo "##### Staging RPM #####"
5656if [ $DB_VERSION = ' 21.3.0' ]; then
5757 if [ $DB_EDITION = ' xe' ]; then
5858 DOCKER_FILE=Dockerfile.$DB_EDITION
59- if [[ $XE_NO_DOWNLOAD =~ (Y| y) ]]; then
59+ if [[ $XE_USE_LOCAL_COPY =~ (Y| y) ]]; then
6060 cd dockerfiles/$DB_VERSION && curl --progress-bar -O file://$FILES_DIR /oracle-database-xe-21c-1.0-1.ol7.x86_64.rpm
6161 sed $SED_OPTS " s|${XE_DOWNLOAD_BASE_URL} ||g" ${DOCKER_FILE:- Dockerfile}
6262 sed $SED_OPTS " s|^(COPY)(.+CHECK_SPACE_FILE.+INSTALL_DIR/)$|\1 \$ INSTALL_FILE_1\2|g" ${DOCKER_FILE:- Dockerfile}
63- fi
63+ fi
6464 else
6565 cd dockerfiles/$DB_VERSION && curl --progress-bar -O file://$FILES_DIR /LINUX.X64_213000_db_home.zip
6666 DOCKER_FILE=Dockerfile
@@ -70,7 +70,7 @@ elif [ $DB_VERSION = '19.3.0' ]; then
7070 DOCKER_FILE=Dockerfile
7171elif [ $DB_VERSION = ' 18.4.0' ] && [ $DB_EDITION = ' xe' ]; then
7272 DOCKER_FILE=Dockerfile.$DB_EDITION
73- if [[ $XE_NO_DOWNLOAD =~ (Y| y) ]]; then
73+ if [[ $XE_USE_LOCAL_COPY =~ (Y| y) ]]; then
7474 cd dockerfiles/$DB_VERSION && curl --progress-bar -O file://$FILES_DIR /oracle-database-xe-18c-1.0-1.x86_64.rpm
7575 sed $SED_OPTS " s|${XE_DOWNLOAD_BASE_URL} ||g" ${DOCKER_FILE:- Dockerfile}
7676 sed $SED_OPTS " s|^(COPY)(.+CHECK_SPACE_FILE.+INSTALL_DIR/)$|\1 \$ INSTALL_FILE_1\2|g" ${DOCKER_FILE:- Dockerfile}
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ REST_ENABLED_SQL=Y
7070RTU_ENABLED=N
7171SQLDEVWEB=Y
7272DATABASEAPI=Y
73- XE_NO_DOWNLOAD =N
73+ XE_USE_LOCAL_COPY =N
7474EOF
7575
7676# #### Download files #####
Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ REST_ENABLED_SQL=Y
3434RTU_ENABLED=N
3535SQLDEVWEB=Y
3636DATABASEAPI=Y
37- XE_NO_DOWNLOAD =N
37+ XE_USE_LOCAL_COPY =N
You can’t perform that action at this time.
0 commit comments