From b1ac60470315153dc9bc03f7f0bb1bfb221f6c5d Mon Sep 17 00:00:00 2001 From: Davlet Panech Date: Wed, 5 May 2021 10:42:56 -0400 Subject: [PATCH] Pin clearlinux/golang to v1.15.10 in Dockerfiles Upstream Dockerfiles use clearlinux/golang:latest as the base, which is broken as of now. Solution: change it to last known working tag before building. Closes-Bug: 1927153 Signed-off-by: Davlet Panech Change-Id: Ic13973c0518eeab74ec86884036d08c2b8a4961f --- .../distroless/build-intel-device-plugins-image.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kubernetes/plugins/intel-device-plugin/distroless/build-intel-device-plugins-image.sh b/kubernetes/plugins/intel-device-plugin/distroless/build-intel-device-plugins-image.sh index 0690a71c5..90c9b2942 100644 --- a/kubernetes/plugins/intel-device-plugin/distroless/build-intel-device-plugins-image.sh +++ b/kubernetes/plugins/intel-device-plugin/distroless/build-intel-device-plugins-image.sh @@ -14,6 +14,10 @@ if [ -z "${IMAGE_TAG}" ]; then exit 1 fi +# https://bugs.launchpad.net/starlingx/+bug/1927153 +# pin clearlinux/golang to the last known working tag +sed -i 's!clearlinux/golang:latest!clearlinux/golang:1.15.10!' build/docker/${DEVICE}.Dockerfile || exit 1 + make ${DEVICE} if [ $? -ne 0 ]; then