kopia lustrzana https://github.com/jupyterhub/repo2docker
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
rodzic
4dcda6c32b
commit
cd7c151959
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue