From 732fc2d5390a401346ac0e30cd489c4aa644852a Mon Sep 17 00:00:00 2001 From: Paulo Castro Date: Sat, 1 May 2021 00:49:41 +0100 Subject: [PATCH] build: Workaround issue with Docker v20.10 + single-arch base images Change-type: patch --- lib/utils/compose_ts.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/utils/compose_ts.ts b/lib/utils/compose_ts.ts index 5b8d80a4..791b8531 100644 --- a/lib/utils/compose_ts.ts +++ b/lib/utils/compose_ts.ts @@ -1015,6 +1015,9 @@ export async function makeBuildTasks( infoStr = `build [${task.context}]`; } logger.logDebug(` ${task.serviceName}: ${infoStr}`); + // Workaround for Docker v20.10 + single-arch base images. See: + // https://www.flowdock.com/app/rulemotion/i-cli/threads/RuSu1KiWOn62xaGy7O2sn8m8BUc + task.dockerPlatform = 'none'; }); logger.logDebug(