From fbb740019f3289e900c9b4e4f3e9e7c3d2583d17 Mon Sep 17 00:00:00 2001 From: yabenatti Date: Tue, 6 Aug 2024 13:41:42 +0200 Subject: [PATCH] Adapting dockerfile to platforms --- docker/bootstrap/Dockerfile.common | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/bootstrap/Dockerfile.common b/docker/bootstrap/Dockerfile.common index c48a485bec3..a636e8dee01 100644 --- a/docker/bootstrap/Dockerfile.common +++ b/docker/bootstrap/Dockerfile.common @@ -1,4 +1,6 @@ -FROM --platform=linux/amd64 golang:1.22.5-bullseye +ARG go_version=1.22.5 + +FROM golang:${go_version}-bullseye # Install Vitess build dependencies RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \