2105de3499
Before this change, the error message would show the invalid name in lowercase: docker build -<<'EOF' FROM busybox AS foo:$BAR EOF [+] Building 0.2s (2/2) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 67B 0.0s => [internal] load .dockerignore 0.1s => => transferring context: 2B 0.0s failed to solve with frontend dockerfile.v0: failed to create LLB definition: Dockerfile parse error line 1: invalid name for build stage: "foo:$bar", name can't start with a number or contain symbols With this patch, the invalid stagename is shown as-is Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
dockerfile | ||
gateway | ||
frontend.go | ||
frontend_test.go | ||
result.go |