diff --git a/Dockerfile.template b/Dockerfile.template index 66b338cb..5d65b771 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -133,7 +133,7 @@ RUN set -ex; \ sed -i -e '/includedir/ {N;s/\(.*\)\n\(.*\)/\n\2\n\1/}' /etc/mysql/mariadb.cnf; \ fi - +USER mysql VOLUME /var/lib/mysql COPY healthcheck.sh /usr/local/bin/healthcheck.sh