From b5e4fd9834c9807017d3f5eb26b15a766c439346 Mon Sep 17 00:00:00 2001 From: Louis Royer Date: Fri, 18 Oct 2024 15:19:16 +0200 Subject: [PATCH] Update to srv6@v0.0.19 and srv6-ctrl@v0.0.13 --- srv6-ctrl/Dockerfile | 5 ++++- srv6/Dockerfile | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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"]