From 7f13895f2b6fd422137b160138343ad0434e284a Mon Sep 17 00:00:00 2001 From: Remy Suen Date: Thu, 21 Jun 2018 18:15:26 -0400 Subject: [PATCH] Fix #39 Test another scenario from vscode-docker Another bug in the Microsoft/vscode-docker repository was opened about this problem. https://github.com/Microsoft/vscode-docker/issues/280 Signed-off-by: Remy Suen --- test/dockerValidator.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/dockerValidator.test.ts b/test/dockerValidator.test.ts index 799927c..fb9a196 100644 --- a/test/dockerValidator.test.ts +++ b/test/dockerValidator.test.ts @@ -2663,6 +2663,9 @@ describe("Docker Validator Tests", function() { diagnostics = validateDockerfile("FROM node@sha256:613685c22f65d01f2264bdd49b8a336488e14faf29f3ff9b6bf76a4da23c4700"); assert.equal(diagnostics.length, 0); + diagnostics = validateDockerfile("FROM repository.mycompany:5000/tomcat:8.0"); + assert.equal(diagnostics.length, 0); + diagnostics = validateDockerfile("FROM privateregistry.com/image:tag"); assert.equal(diagnostics.length, 0);