scratch remove healthcheck
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
232fe8fc22
commit
859ebb3206
@ -19,10 +19,9 @@ LABEL MAINTAINER='LIU Peng<liupeng@daymele.com>'
|
||||
WORKDIR /
|
||||
# COPY --from=build-client /bin/cli /cli
|
||||
COPY ./cli /cli
|
||||
|
||||
# 健康检测
|
||||
ADD ./hc.sh /root/healthcheck.sh
|
||||
HEALTHCHECK --start-period=60s --interval=15s --timeout=5s --retries=3 CMD /bin/ash /root/healthcheck.sh
|
||||
# 健康检测 scratch 镜像没有其它shell指令,所以无法进行健康检测
|
||||
# ADD ./hc.sh /root/healthcheck.sh
|
||||
# HEALTHCHECK --start-period=60s --interval=15s --timeout=5s --retries=3 CMD /bin/ash /root/healthcheck.sh
|
||||
|
||||
# 时区处理(方法一:需要提前准备下两条,scratch和alpine都可以使用)
|
||||
# tar cfz zoneinfo.tar.gz /usr/share/zoneinfo
|
||||
|
Loading…
Reference in New Issue
Block a user