From 1c91bba79ab0decbd5e5da394d914cdc0881b320 Mon Sep 17 00:00:00 2001 From: Louis Royer Date: Thu, 11 Jul 2024 15:08:52 +0200 Subject: [PATCH] Update go to 1.22 --- srv6-ctrl/Dockerfile | 2 +- srv6/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srv6-ctrl/Dockerfile b/srv6-ctrl/Dockerfile index 1852193..3db6a1f 100644 --- a/srv6-ctrl/Dockerfile +++ b/srv6-ctrl/Dockerfile @@ -3,7 +3,7 @@ # found in the LICENSE file. # SPDX-License-Identifier: MIT -FROM golang:1.21 AS builder +FROM golang:1.22 AS builder ARG COMMIT=v0.0.6 RUN : ${COMMIT:? Missing build-arg COMMIT.} && go install github.com/nextmn/srv6-ctrl@${COMMIT} diff --git a/srv6/Dockerfile b/srv6/Dockerfile index aa65571..60db5e0 100644 --- a/srv6/Dockerfile +++ b/srv6/Dockerfile @@ -3,7 +3,7 @@ # found in the LICENSE file. # SPDX-License-Identifier: MIT -FROM golang:1.21 AS builder +FROM golang:1.22 AS builder ARG COMMIT=v0.0.12 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 \;