Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Oct 18, 2024
1 parent bdacb43 commit b5e4fd9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion srv6-ctrl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}


Expand Down Expand Up @@ -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"]
5 changes: 4 additions & 1 deletion srv6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \;

Expand Down Expand Up @@ -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"]

0 comments on commit b5e4fd9

Please sign in to comment.