I'm feeling quite stupid at the moment, but I'm not finding the answer anywhere, and the error message doesn't seem terribly helpful to me.
I've got this code that I'm running using the Dagger Go SDK: https://gist.github.com/gmlewis/9fd12016fa750ac07e86452e659606c0
and the Dockerfile starts with: FROM node:16 as builder (I also tried "node:18").
This same method works great in a different repo (with a different Dockerfile), but fails in my current repo with the following error:
2023/03/10 18:29:17 PublishToAzure: Building container from "Dockerfile"
#6 resolve image config for docker.io/library/golang:1.20
#6 DONE 1.9s
#8 [internal] load metadata for docker.io/library/node:16
2023/03/10 18:29:18 PublishToAzure: Build FAILED: input:1: container.build.stdout no command has been executed
(Note that this Dockerfile builds fine locally on both Mac and Linux but this error is happening within a GitHub Action.)
Any ideas what I'm doing wrong?