FROM alpine:latest RUN apk add mariadb RUN apk add mariadb-client RUN apk add bash COPY mariadb.sh /root COPY mariadb.conf /root COPY mariadb-setup.conf /root RUN chmod a+x /root/mariadb.sh CMD ['/bin/bash','/root/mariadb.sh']