FROM alpine:3.12 LABEL maintainer = "bisco - " RUN apk add --update --no-cache \ bash \ mariadb \ mariadb-client ADD docker-entrypoint.sh / EXPOSE 3306 VOLUME ["/var/lib/mysql"] STOPSIGNAL SIGTERM ENTRYPOINT ["/docker-entrypoint.sh"]