-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
Slim with --include-exe doesn't preserve the executable #724
Comments
Maybe this could be Rockylinux-related... Still need to repro (hope to do it soon). In the meantime, you can use this test command to keep |
It does appear to be rockylinux related :-) investigating... |
I thought I was, looking here. But I see that |
I confirm that in a |
Note that if I do patch the bash script in the description to use
This does not happen with 1.41.6. Happy to repost that as a separate issue over on the mint project if appropriate. |
In case it helps I have reproduced the problem on all of the following
so this seems to span all RHEL derivatives. I have not been able to reproduce on |
thanks a lot for the extra info @duncanmmacleod ! |
Turns out the problem there is that on Rocky A quick workaround there is to use these flags:
Hope to have an enhancement for this in the next version where it'll handle the wrapper scripts when binary files are expected. |
Expected Behavior
--include-exe=mkdir
results in a slim image that includesmkdir
without needing to specify any other--include-*
options or--exec
.I'm sorry if this is 'user error' because I didn't read the manual properly.
Actual Behavior
--include-exe=mkdir
seems to have no impact at all and creates an image that does not includemkdir
.Slim container contents (from docker export)
Steps to Reproduce the Problem
The following bash script should reproduce things (based on Debian under WSL2):
Specifications
Linux WR189341E94201 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 GNU/Linux
(Docker version 27.2.0, build 3ab4256
)The text was updated successfully, but these errors were encountered: