From 66ca0b985ce22518676447620540fd8cd33ece75 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Wed, 18 Dec 2024 10:12:51 +0200 Subject: [PATCH] memtierd: allow overriding go version for image build. Align with the rest of the plugins, allowing GO_VERSION to override the golang version used to build the image. Signed-off-by: Krisztian Litkey --- cmd/plugins/memtierd/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/plugins/memtierd/Dockerfile b/cmd/plugins/memtierd/Dockerfile index 57f463ebe..cf8d1d68f 100644 --- a/cmd/plugins/memtierd/Dockerfile +++ b/cmd/plugins/memtierd/Dockerfile @@ -1,4 +1,6 @@ -FROM golang:1.22-bullseye AS builder +ARG GO_VERSION=1.22 + +FROM golang:${GO_VERSION}-bullseye AS builder ARG IMAGE_VERSION ARG BUILD_VERSION