[#1] kibana容器/root权限改为777
This commit is contained in:
parent
8391108327
commit
ddec4cf1b0
@ -32,6 +32,9 @@ COPY start-kibana-supervised.sh /usr/local/bin/start-kibana-supervised.sh
|
||||
COPY kibana-post-start.sh /usr/local/bin/kibana-post-start.sh
|
||||
RUN chmod +x /usr/local/bin/start-kibana-supervised.sh /usr/local/bin/kibana-post-start.sh
|
||||
|
||||
# kibana需要用到 /root/.config/puppeteer 路径
|
||||
RUN chmod 777 /root
|
||||
|
||||
# 保持 root 用户,由 supervisor 管理用户切换
|
||||
USER root
|
||||
|
||||
@ -39,4 +42,4 @@ USER root
|
||||
EXPOSE 5601
|
||||
|
||||
# 使用 supervisor 作为入口点
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user