From 5af89904c9ad33b632305b53058ddc69190f56a9 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Thu, 21 Jun 2018 00:15:55 -0700 Subject: Improved .dockerignore pattern processing to better match Docker CLI behavior Signed-off-by: Joffrey F --- docker/utils/fnmatch.py | 1 + 1 file changed, 1 insertion(+) (limited to 'docker/utils/fnmatch.py') diff --git a/docker/utils/fnmatch.py b/docker/utils/fnmatch.py index 42461dd..cc940a2 100644 --- a/docker/utils/fnmatch.py +++ b/docker/utils/fnmatch.py @@ -111,4 +111,5 @@ def translate(pat): res = '%s[%s]' % (res, stuff) else: res = res + re.escape(c) + return res + '$' -- cgit v1.2.1