Merge pull request #1651 from balena-io/1649-fix-build-emulated

Fix `build --emulated` on Linux ("exec format error")
This commit is contained in:
Paulo Castro 2020-03-05 23:54:10 -03:00 committed by GitHub
commit 2c5cf9dab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ])