kubernetes/worker/mysql-Dockerfile

11 lines
250 B
Plaintext
Raw Normal View History

2023-03-31 10:26:50 +08:00
FROM mysql:5.7.41
ENV TZ=Asia/Shanghai
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
ENV MYSQL_ROOT_PASSWORD=123456
ENV MYSQL_DATABASE=maydaytest
COPY ./mayday.sql /docker-entrypoint-initdb.d/mayday.sql
EXPOSE 3306
CMD ["mysqld"]