-
Notifications
You must be signed in to change notification settings - Fork 105
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
Add tini
to the images
#165
Conversation
References: krallin/tini-images#9 |
@wperron any word about the distroless and centos approach? It's the only place where we pin the |
We should probably pin the other's version to the same version as well then, I know this is possible with Otherwise looks good to me 👍 Inspecting the images locally, this change barely adds around 1.7Mb to the images, I think that's fine given the benefits we get from it. |
Well, this is way more than I expected... as the size of |
I'm guessing there's also some dynamic dependencies or other files being installed on the filesystem that are required for it to work. I'll dive deeper later today, but as I said, it's nothing that would prevent a merge imo |
@wperron now all uses the same ❯ container-diff diff daemon://deno:debian daemon://deno:debian-tini-small --type=file --type=size
-----File-----
These entries have been added to deno:debian:
FILE SIZE
/tini 23.5K
These entries have been deleted from deno:debian: None
These entries have been changed between deno:debian and deno:debian-tini-small: None
-----Size-----
Image size difference between deno:debian and deno:debian-tini-small:
SIZE1 SIZE2
163.7M 163.7M It turned out that the The advice is: https://github.com/krallin/tini#statically-linked-version As it did not fail to start, I guess we are good to go. What surprised me is that it worked even for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a minor nitpick; can we get the tini
version in an arg like we do for the deno
version?
Yeah sorry, nevermind me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
Closes #161