Dockerfile 188 B

12345678910
  1. from alpine:3.5
  2. env MYSQL_HOST=mysql \
  3. MYSQL_USER=root \
  4. MYSQL_PASSWORD=test123456
  5. run apk add --no-cache mysql-client git
  6. copy init_mysql_data.sh /
  7. cmd ["/init_mysql_data.sh"]