11 lines
258 B
Docker
11 lines
258 B
Docker
FROM alpine:3.3
|
|
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
|
|
|
|
RUN apk update \
|
|
&& apk add mariadb \
|
|
&& mysql_install_db --user=mysql --rpm
|
|
|
|
COPY my.cnf /etc/mysql/my.cnf
|
|
|
|
CMD /bin/sh -c "/usr/bin/mysqld_safe --pid-file=/run/mysqld/mysqld.pid"
|