Dockerfile 576 B

12345678910111213141516
  1. FROM alpine:3.6
  2. MAINTAINER Rabin "https://github.com/shemic"
  3. ENV CHINA_MIRRORS=http://mirrors.ustc.edu.cn/
  4. ENV FAU_MIRRORS=http://ftp.fau.de/
  5. ENV MIRRORS=$CHINA_MIRRORS
  6. RUN sed -i "s/http:\/\/dl-cdn.alpinelinux.org/http:\/\/mirrors.ustc.edu.cn/g" /etc/apk/repositories && apk --no-cache --update add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && date && apk del tzdata && mkdir /entrypoint && mkdir /share
  7. VOLUME ["/share"]
  8. COPY v3.4/entrypoint.sh /entrypoint.sh
  9. COPY v3.4/process.sh /entrypoint/process.sh
  10. ENTRYPOINT ["/entrypoint.sh"]