Note that variable expansion in --from and FROM was working oddly, see: https://github.com/docker/cli/issues/3356#issuecomment-957892224 for context.