From ce74c8b4d2e68256d85063ee237c8d41174b27c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20Mui=C3=B1o?= Date: Fri, 31 Jan 2014 14:50:07 +0100 Subject: [PATCH] Ignore tar.TypeXGlobalHeader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docker-DCO-1.1-Signed-off-by: Abel MuiƱo (github: amuino) --- archive/archive.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archive/archive.go b/archive/archive.go index 727e9289fa..b1400c2210 100644 --- a/archive/archive.go +++ b/archive/archive.go @@ -228,6 +228,10 @@ func createTarFile(path, extractDir string, hdr *tar.Header, reader *tar.Reader) return err } + case tar.TypeXGlobalHeader: + utils.Debugf("PAX Global Extended Headers found and ignored") + return nil + default: return fmt.Errorf("Unhandled tar header type %d\n", hdr.Typeflag) }