Browse Source

feat: change healthcheck start-period to 5 mins

pull/37/merge
Daniel Gibbs 1 year ago
parent
commit
7766c74eeb
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 2
      Dockerfile.ubuntu-1804
  2. 2
      Dockerfile.ubuntu-2004

2
Dockerfile.ubuntu-1804

@ -103,7 +103,7 @@ RUN echo "**** Add linuxgsm user ****" \
&& chmod 0440 /etc/sudoers.d/$USER \ && chmod 0440 /etc/sudoers.d/$USER \
&& chown $USER:$USER /data && chown $USER:$USER /data
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 HEALTHCHECK --interval=1m --timeout=1m --start-period=5m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
## Download linuxgsm.sh ## Download linuxgsm.sh
RUN echo "**** Download linuxgsm.sh ****" \ RUN echo "**** Download linuxgsm.sh ****" \

2
Dockerfile.ubuntu-2004

@ -103,7 +103,7 @@ RUN echo "**** Add linuxgsm user ****" \
&& chmod 0440 /etc/sudoers.d/$USER \ && chmod 0440 /etc/sudoers.d/$USER \
&& chown $USER:$USER /data && chown $USER:$USER /data
HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1 HEALTHCHECK --interval=1m --timeout=1m --start-period=5m --retries=1 CMD /app/entrypoint-healthcheck.sh || exit 1
## Download linuxgsm.sh ## Download linuxgsm.sh
RUN echo "**** Download linuxgsm.sh ****" \ RUN echo "**** Download linuxgsm.sh ****" \

Loading…
Cancel
Save