Dockerfile 654 B

12345678910111213141516171819202122232425
  1. # https://github.com/elastic/kibana-docker
  2. FROM docker.elastic.co/kibana/kibana:5.3.0
  3. USER root
  4. RUN sed -i 's/archive.ubuntu.com/mirrors.163.com/g' /etc/apt/sources.list
  5. RUN \
  6. apt-get update && \
  7. apt-get install -y curl git unzip vim wget && \
  8. apt-get install -y language-pack-zh-hans && \
  9. rm -rf /var/lib/apt/lists/*
  10. RUN locale
  11. ENV LANG=zh_CN.UTF-8\
  12. LANGUAGE=zh_CN:zh:en_US:en\
  13. LC_ALL=zh_CN.UTF-8\
  14. TZ=Asia/Shanghai\
  15. TERM=xterm
  16. RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && \
  17. echo $TZ > /etc/timezone && \
  18. dpkg-reconfigure --frontend noninteractive tzdata
  19. USER kibana
  20. CMD /usr/local/bin/kibana-docker