File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 matrix :
3636 - ORACLE_VERSION="12c-se-r1" CONNECTION_STR='127.0.0.1:1521/ORCLPDB1'
3737 - ORACLE_VERSION="11g-xe-r2" CONNECTION_STR='127.0.0.1:1521/XE' DOCKER_OPTIONS='--shm-size=1g'
38- - ORACLE_VERSION="12c-se2-r2-v2" CONNECTION_STR='127.0.0.1:1521/ORCLPDB1'
38+ - ORACLE_VERSION="12c-se2-r2-v2" CONNECTION_STR='127.0.0.1:1521/ORCLPDB1' $DOCKER_OPTIONS="-v /dev/pdbs:/opt/oracle/oradata/pdbs"
3939
4040cache :
4141 pip : true
Original file line number Diff line number Diff line change 1212 mkdir -p $HOME /.docker && cp $CACHE_DIR /.docker/config.json $HOME /.docker/
1313fi
1414
15-
16- if [ " $ORACLE_VERSION " == " 12c-se2-r2" ]; then
1715mkdir -p /dev/pdbs
18- docker pull $DOCKER_BASE_TAG :$ORACLE_VERSION
19- docker run -d --name $ORACLE_VERSION $DOCKER_OPTIONS -p 1521:1521 -v /dev/pdbs:/opt/oracle/oradata/pdbs $DOCKER_BASE_TAG :$ORACLE_VERSION
20- else
16+
2117docker pull $DOCKER_BASE_TAG :$ORACLE_VERSION
2218docker run -d --name $ORACLE_VERSION $DOCKER_OPTIONS -p 1521:1521 $DOCKER_BASE_TAG :$ORACLE_VERSION
23- fi
2419docker logs -f $ORACLE_VERSION | grep -m 1 " DATABASE IS READY TO USE!" --line-buffered
You can’t perform that action at this time.
0 commit comments