summaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-11 14:11:41 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-11 14:17:17 +0100
commit6b635044a721c5ccf63a6e20165ed7d775fafaa2 (patch)
treec6f7af1db8264022a5d8fea3a3ff5906a0b1626a /autotest.sh
parentca2755ed6af0279b203da12e09bc4094af3aa49b (diff)
downloadnextcloud-server-6b635044a721c5ccf63a6e20165ed7d775fafaa2.tar.gz
nextcloud-server-6b635044a721c5ccf63a6e20165ed7d775fafaa2.zip
Use official mariadb docker
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autotest.sh b/autotest.sh
index f4c70f99b8a..48b73283499 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -185,11 +185,12 @@ function execute_tests {
if [ ! -z "$USEDOCKER" ] ; then
echo "Fire up the mariadb docker"
DOCKER_CONTAINER_ID=$(docker run \
+ -v $BASEDIR/tests/docker/mariadb:/etc/mysql/conf.d \
-e MYSQL_ROOT_PASSWORD=owncloud \
-e MYSQL_USER="$DATABASEUSER" \
-e MYSQL_PASSWORD=owncloud \
-e MYSQL_DATABASE="$DATABASENAME" \
- -d rullzer/mariadb-owncloud)
+ -d mariadb)
DATABASEHOST=$(docker inspect --format="{{.NetworkSettings.IPAddress}}" "$DOCKER_CONTAINER_ID")
echo "Waiting for MariaDB initialisation ..."