update at 2019-12-05 11:16:47 by ehlxr
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
FROM alpine:latest
|
||||
FROM ehlxr/alpine
|
||||
# ehlxr/alpine-mysql
|
||||
LABEL maintainer="ehlxr.me@gmail.com"
|
||||
|
||||
ENV TZ "Asia/Shanghai"
|
||||
# ENV TZ "Asia/Shanghai"
|
||||
|
||||
WORKDIR /app
|
||||
VOLUME /data
|
||||
|
||||
RUN apk add --update --no-cache mysql mysql-client tzdata \
|
||||
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
|
||||
&& echo ${TZ} > /etc/timezone \
|
||||
# RUN apk add --update --no-cache mysql mysql-client tzdata \
|
||||
# && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
|
||||
# && echo ${TZ} > /etc/timezone \
|
||||
# && rm -rf /var/cache/apk/*
|
||||
|
||||
RUN apk add --update --no-cache mysql mysql-client \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY my.cnf /etc/mysql/my.cnf
|
||||
|
Reference in New Issue
Block a user