fixed docker container and entrypoint to wait for mariadb

1 job for master in 6 minutes and 57 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Pack
passed #22756
pack

00:06:57