9 lines
316 B
Docker
Executable File
9 lines
316 B
Docker
Executable File
FROM alpine:3.12
|
|
RUN echo "root:root" | chpasswd
|
|
RUN apk update
|
|
RUN apk add mariadb mariadb-common mariadb-client
|
|
COPY my.cnf /etc/my.cnf
|
|
EXPOSE 3306
|
|
COPY start.sh /start.sh
|
|
RUN chmod +x /start.sh
|
|
CMD ["/start.sh"] |