From ca8272b477724aa97450f2f9bf600d70023d9e51 Mon Sep 17 00:00:00 2001 From: Paulo Castro Date: Fri, 6 Mar 2020 01:48:13 +0000 Subject: [PATCH] Fix `build --emulated` on Linux ("exec format error") Resolves: #1649 Change-type: patch --- lib/utils/compose.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/compose.coffee b/lib/utils/compose.coffee index d4a851b3..98a3ebac 100644 --- a/lib/utils/compose.coffee +++ b/lib/utils/compose.coffee @@ -230,7 +230,7 @@ exports.buildProject = ( containerQemuPath: "/tmp/#{qemu.QEMU_BIN_NAME}", qemuFileMode: 0o555, }, - dockerfilePath + dockerfilePath or undefined, ).then (stream) -> task.buildStream = stream .return([ task, binPath ])