diff --git a/srv6-ctrl/Dockerfile b/srv6-ctrl/Dockerfile index 7a78b3e..660701c 100644 --- a/srv6-ctrl/Dockerfile +++ b/srv6-ctrl/Dockerfile @@ -4,7 +4,7 @@ # SPDX-License-Identifier: MIT FROM golang:1.22 AS builder -ARG COMMIT=v0.0.12 +ARG COMMIT=v0.0.13 RUN : ${COMMIT:? Missing build-arg COMMIT.} && go install github.com/nextmn/srv6-ctrl@${COMMIT} @@ -35,3 +35,6 @@ ENV ROUTING_SCRIPT="docker-setup" \ ENTRYPOINT ["entrypoint.sh"] CMD ["--help"] + +HEALTHCHECK --interval=1m --timeout=1s --retries=3 --start-period=5s --start-interval=1s \ +CMD ["entrypoint.sh", "healthcheck"] diff --git a/srv6/Dockerfile b/srv6/Dockerfile index a189df5..325f915 100644 --- a/srv6/Dockerfile +++ b/srv6/Dockerfile @@ -4,7 +4,7 @@ # SPDX-License-Identifier: MIT FROM golang:1.22 AS builder -ARG COMMIT=v0.0.18 +ARG COMMIT=v0.0.19 RUN : ${COMMIT:? Missing build-arg COMMIT.} && go install github.com/nextmn/srv6@${COMMIT} \ && find /go/pkg/mod/github.com/nextmn -iname 'srv6@*' -type d -exec ln -s {} /configuration \; @@ -36,3 +36,6 @@ ENV TEMPLATE_SCRIPT="template-script.sh" \ ENTRYPOINT ["entrypoint.sh"] CMD ["--help"] + +HEALTHCHECK --interval=1m --timeout=1s --retries=3 --start-period=5s --start-interval=1s \ +CMD ["entrypoint.sh", "healthcheck"]