fix mariadb Dockerfile

- fix base image
- expose ports
- new mariadb packages log to /var/log/mariadb

Change-Id: I60adc956c82c352f91f718a3a2d5a4a86dd00293
Merge "fix mariadb Dockerfile"