From f07acfeb0f0849e1e7bd8706de1b83e2a527de9c Mon Sep 17 00:00:00 2001 From: Zhiwei Yin Date: Thu, 15 Jun 2023 23:01:04 +0800 Subject: [PATCH] change build image to fix GLIBC not found issue Signed-off-by: Zhiwei Yin --- build/Dockerfile.placement | 2 +- build/Dockerfile.registration | 2 +- build/Dockerfile.registration-operator | 2 +- build/Dockerfile.work | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/Dockerfile.placement b/build/Dockerfile.placement index e1c0e1410..373beb0ad 100644 --- a/build/Dockerfile.placement +++ b/build/Dockerfile.placement @@ -1,4 +1,4 @@ -FROM golang:1.20 AS builder +FROM golang:1.20-bullseye AS builder ARG OS=linux ARG ARCH=amd64 WORKDIR /go/src/open-cluster-management.io/ocm diff --git a/build/Dockerfile.registration b/build/Dockerfile.registration index 3e7e847b9..2f58ec75e 100644 --- a/build/Dockerfile.registration +++ b/build/Dockerfile.registration @@ -1,4 +1,4 @@ -FROM golang:1.20 AS builder +FROM golang:1.20-bullseye AS builder ARG OS=linux ARG ARCH=amd64 WORKDIR /go/src/open-cluster-management.io/ocm diff --git a/build/Dockerfile.registration-operator b/build/Dockerfile.registration-operator index 0c3d66a7e..f603c1a57 100644 --- a/build/Dockerfile.registration-operator +++ b/build/Dockerfile.registration-operator @@ -1,4 +1,4 @@ -FROM golang:1.20 AS builder +FROM golang:1.20-bullseye AS builder ARG OS=linux ARG ARCH=amd64 WORKDIR /go/src/open-cluster-management.io/ocm diff --git a/build/Dockerfile.work b/build/Dockerfile.work index e22f8631e..f0e8303d1 100644 --- a/build/Dockerfile.work +++ b/build/Dockerfile.work @@ -1,4 +1,4 @@ -FROM golang:1.20 AS builder +FROM golang:1.20-bullseye AS builder ARG OS=linux ARG ARCH=amd64 WORKDIR /go/src/open-cluster-management.io/ocm