Browse Source

builder/dockerfile: use example.com for tests

Trying to remove the "docker.io" domain from locations where it's not relevant.
In these cases, this domain was used as a "random" domain for testing or example
purposes.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 years ago
parent
commit
4f81f9d5ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      builder/dockerfile/evaluator_test.go

+ 1 - 1
builder/dockerfile/evaluator_test.go

@@ -87,7 +87,7 @@ func TestDispatch(t *testing.T) {
 		{
 		{
 			name: "COPY url",
 			name: "COPY url",
 			cmd: &instructions.CopyCommand{SourcesAndDest: instructions.SourcesAndDest{
 			cmd: &instructions.CopyCommand{SourcesAndDest: instructions.SourcesAndDest{
-				SourcePaths: []string{"https://index.docker.io/robots.txt"},
+				SourcePaths: []string{"https://example.com/index.html"},
 				DestPath:    "/",
 				DestPath:    "/",
 			}},
 			}},
 			expectedError: "source can't be a URL for COPY",
 			expectedError: "source can't be a URL for COPY",