[v8.2.x] CI: Update Dockerfile (#42529)

* Update Dockerfile

* Run apt-get update before download service clients
This commit is contained in:
Dimitris Sotirakis
2021-11-30 16:29:37 +01:00
committed by GitHub
parent 288621b68a
commit 7bcc44e44e
3 changed files with 25 additions and 1 deletions
+2
View File
@@ -686,6 +686,7 @@ def postgres_integration_tests_step():
'POSTGRES_HOST': 'postgres',
},
'commands': [
'apt-get update',
'apt-get install -yq postgresql-client',
'dockerize -wait tcp://postgres:5432 -timeout 120s',
'psql -p 5432 -h postgres -U grafanatest -d grafanatest -f ' +
@@ -709,6 +710,7 @@ def mysql_integration_tests_step():
'MYSQL_HOST': 'mysql',
},
'commands': [
'apt-get update',
'apt-get install -yq default-mysql-client',
'dockerize -wait tcp://mysql:3306 -timeout 120s',
'cat devenv/docker/blocks/mysql_tests/setup.sql | mysql -h mysql -P 3306 -u root -prootpass',