for the sake of learning: what was the issue with the dockerfile?
curiously many builds
I suspect it was catching up somehow. Those bazel builds start from nothing and download a lot of things. They work great on a machine where the cache gets populated, not so great on docker.
Mostly a conflict in that the rosetta api expectations want a docker file that doesn't do any COPY and gets stuff from a git repo based on a tag. Where as I want to have the latest git commit built to latest. That can probably be done with the same file if I could have dockerhub pass in the commit number as the refspec but I'm not sure.
I'm considering adding a layer that just builds a release of snowblossom to bring in most of the bazel cache needs.
that would work
i thought i avoided COPY, what was still copied in?
or even cross-stage copy?
You did it right, I just wanted a separate one that does do it via a copy
At least until I figure out how to have dockerhub pass in the commit sha1
For building :latest
well, you could just use mine and pass the refspec in
dockerhub supports linking as well. These might be a result of upstream changes.