mirror of
https://gitee.com/kennylee/docker.git
synced 2024-11-30 02:48:27 +08:00
32 lines
745 B
Docker
Executable File
32 lines
745 B
Docker
Executable File
# https://github.com/elastic/kibana-docker
|
|
FROM docker.elastic.co/kibana/kibana:5.3.0
|
|
|
|
USER root
|
|
|
|
RUN sed -i 's/archive.ubuntu.com/mirrors.163.com/g' /etc/apt/sources.list
|
|
|
|
RUN \
|
|
apt-get update && \
|
|
apt-get install -y curl git unzip vim wget && \
|
|
apt-get install -y language-pack-zh-hans && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
RUN locale
|
|
ENV LANG=zh_CN.UTF-8\
|
|
LANGUAGE=zh_CN:zh:en_US:en\
|
|
LC_ALL=zh_CN.UTF-8\
|
|
TZ=Asia/Shanghai\
|
|
TERM=xterm
|
|
|
|
RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && \
|
|
echo $TZ > /etc/timezone && \
|
|
dpkg-reconfigure --frontend noninteractive tzdata
|
|
|
|
USER kibana
|
|
|
|
# Add your kibana plugins setup here
|
|
# Example: RUN kibana-plugin install <name|url>
|
|
#
|
|
#
|
|
|
|
CMD /usr/local/bin/kibana-docker
|