Upgrade to DB2 container image ibmcom/db2:11.5.7.0
This commit is contained in:
parent
29bfb799aa
commit
a27694c952
|
@ -121,7 +121,7 @@ stage('Build') {
|
||||||
break;
|
break;
|
||||||
case "db2":
|
case "db2":
|
||||||
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
|
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
|
||||||
docker.image('ibmcom/db2:11.5.5.0').pull()
|
docker.image('ibmcom/db2:11.5.7.0').pull()
|
||||||
}
|
}
|
||||||
sh "./docker_db.sh db2"
|
sh "./docker_db.sh db2"
|
||||||
containerName = "db2"
|
containerName = "db2"
|
||||||
|
|
|
@ -89,7 +89,7 @@ edb() {
|
||||||
|
|
||||||
db2() {
|
db2() {
|
||||||
docker rm -f db2 || true
|
docker rm -f db2 || true
|
||||||
docker run --name db2 --privileged -e DB2INSTANCE=orm_test -e DB2INST1_PASSWORD=orm_test -e DBNAME=orm_test -e LICENSE=accept -e AUTOCONFIG=false -e ARCHIVE_LOGS=false -e TO_CREATE_SAMPLEDB=false -e REPODB=false -p 50000:50000 -d ibmcom/db2:11.5.5.0
|
docker run --name db2 --privileged -e DB2INSTANCE=orm_test -e DB2INST1_PASSWORD=orm_test -e DBNAME=orm_test -e LICENSE=accept -e AUTOCONFIG=false -e ARCHIVE_LOGS=false -e TO_CREATE_SAMPLEDB=false -e REPODB=false -p 50000:50000 -d ibmcom/db2:11.5.7.0
|
||||||
# Give the container some time to start
|
# Give the container some time to start
|
||||||
OUTPUT=
|
OUTPUT=
|
||||||
while [[ $OUTPUT != *"INSTANCE"* ]]; do
|
while [[ $OUTPUT != *"INSTANCE"* ]]; do
|
||||||
|
|
Loading…
Reference in New Issue