Upgrade to DB2 container image ibmcom/db2:11.5.7.0

This commit is contained in:
Sanne Grinovero 2021-12-20 16:21:13 +00:00 committed by Sanne Grinovero
parent 29bfb799aa
commit a27694c952
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -121,7 +121,7 @@ stage('Build') {
break;
case "db2":
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"
containerName = "db2"

View File

@ -89,7 +89,7 @@ edb() {
db2() {
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
OUTPUT=
while [[ $OUTPUT != *"INSTANCE"* ]]; do