pig/db/Dockerfile
2021-09-11 21:24:51 +08:00

16 lines
369 B
Docker

FROM mysql/mysql-server:8.0.26
MAINTAINER lengleng(wangiegie@gmail.com)
ENV TZ=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY ./pig.sql /docker-entrypoint-initdb.d
COPY ./pig_codegen.sql /docker-entrypoint-initdb.d
COPY ./pig_config.sql /docker-entrypoint-initdb.d
COPY ./pig_job.sql /docker-entrypoint-initdb.d