buildx/commands
Justin Chadwell f6cccefffc build: avoid resolution of dockerfile if context is remote
In 566f41b598b350c2e92df69a4b8392863ae47faf, we added a check to ensure
that we avoid resolving http URLs for Dockerfile. However, we have
another circumstance we should not resolve the path in - if the context
is a remote context, the dockerfile is resolved in that context (see
build.go#LoadInputs for more information).

Therefore, we should only resolve the dockerfile to a local directory if
the context is also resolved to a local directory.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2023-04-17 11:18:49 +01:00
..
2022-12-06 12:13:41 +01:00
2022-12-06 12:13:41 +01:00
2022-12-08 19:49:51 +01:00
2021-11-04 18:52:17 +01:00
2022-12-06 12:13:41 +01:00
2022-12-06 12:13:41 +01:00
2022-12-06 12:13:41 +01:00
2021-11-04 18:52:17 +01:00
2021-11-04 18:52:17 +01:00