GoogleContainerTools / GoogleContainerTools/jib
Jib should maintain hard-links and symlinks
Open
area/jib-cli
area/jib-core
area/jib-gradle-plugin
area/jib-maven-plugin
enhancement
priority:p3
question
- Dominant language
- Java
- Stars
- 14.5k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
The hardlinking supported by the Spotify docker-client can [result in large image-size savings](https://twitter.com/jvanzyl/status/1226511828110467072) for situations using lots of hard-links (https://github.com/jvanzyl/dockerfile-maven/issues/2). Jib should [track hard-links](https://github.com/jvanzyl/docker-client/blob/8da77cf5952f1819e8afeda0cebd2b61bac858c7/src/main/java/com/spotify/docker/client/CompressedDirectory.java#L302-L309). Jib should also preserve symlinks (perhaps only if they reference within the layer?).
Contributor guide
Assessment
This issue has not been assessed yet.