From 7912f8af007a84604728f638e0dd39df79fffdc0 Mon Sep 17 00:00:00 2001
From: namrata-ibm <namrata.bhave@ibm.com>
Date: Fri, 9 Oct 2020 05:37:54 +0000
Subject: [PATCH] Workaround for job failure due to update in distroless base
 image

---
 cmd/csi-external-health-monitor-agent/Dockerfile      | 2 +-
 cmd/csi-external-health-monitor-controller/Dockerfile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/csi-external-health-monitor-agent/Dockerfile b/cmd/csi-external-health-monitor-agent/Dockerfile
index 337184cf..17819ec3 100644
--- a/cmd/csi-external-health-monitor-agent/Dockerfile
+++ b/cmd/csi-external-health-monitor-agent/Dockerfile
@@ -1,4 +1,4 @@
-FROM gcr.io/distroless/static:latest
+FROM gcr.io/distroless/static:latest-amd64
 LABEL maintainers="Kubernetes Authors"
 LABEL description="CSI External Health Monitor Agent"
 ARG binary=./bin/csi-external-health-monitor-agent
diff --git a/cmd/csi-external-health-monitor-controller/Dockerfile b/cmd/csi-external-health-monitor-controller/Dockerfile
index dbd40254..f305719f 100644
--- a/cmd/csi-external-health-monitor-controller/Dockerfile
+++ b/cmd/csi-external-health-monitor-controller/Dockerfile
@@ -1,4 +1,4 @@
-FROM gcr.io/distroless/static:latest
+FROM gcr.io/distroless/static:latest-amd64
 LABEL maintainers="Kubernetes Authors"
 LABEL description="CSI External Health Monitor Controller"
 ARG binary=./bin/csi-external-health-monitor-controller