Filter all of src too when adding to tar

This also seems to be required to more consistently use the
Docker build cache.
pull/50/head
yuvipanda 2017-07-30 11:20:38 -07:00
rodzic 4dcda6c32b
commit cd7c151959
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -380,7 +380,7 @@ class BuildPack(LoggingConfigurable):
src_path = os.path.join(os.path.dirname(__file__), 'files', *src_parts)
tar.add(src_path, src, filter=_filter_tar)
tar.add('.', 'src/')
tar.add('.', 'src/', filter=_filter_tar)
tar.close()
tarf.seek(0)