Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore using Provisio and JIB to make a highly optimized Docker image #2

Open
jvanzyl opened this issue Feb 9, 2020 · 2 comments
Open

Comments

@jvanzyl
Copy link
Owner

jvanzyl commented Feb 9, 2020

Provisio knows the exact set of items that go into a runtime so it would be possible to feed that information into JIB to make a highly optimized Docker image.

NOTE: @briandealwis mentioned that JIB currently doesn't support hardlinks, but we can look at adding that support when we get there.

@briandealwis
Copy link

Do you have a pointer somewhere as to how hardlinks help?

@jvanzyl
Copy link
Owner Author

jvanzyl commented Feb 10, 2020

It's in the docker client which is used by this plugin:

https://github.com/jvanzyl/docker-client/blob/master/src/main/java/com/spotify/docker/client/CompressedDirectory.java

Sending the stream to the docker daemon with hardlinks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants