build: Workaround issue with Docker v20.10 + single-arch base images

Change-type: patch
This commit is contained in:
Paulo Castro 2021-05-01 00:49:41 +01:00
parent 535a443d7c
commit 732fc2d539

View File

@ -1015,6 +1015,9 @@ export async function makeBuildTasks(
infoStr = `build [${task.context}]`; infoStr = `build [${task.context}]`;
} }
logger.logDebug(` ${task.serviceName}: ${infoStr}`); 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( logger.logDebug(