slim
slim copied to clipboard
Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
20220407PWEA:/tmp$ slim build --target xprobe/xinference:v0.14.0 --tag xprobe/xinference:v0.14.0-slim cmd=build info=param.http.probe message='using default probe' cmd=build state=started cmd=build info=params tags='xprobe/xinference:v0.14.0-slim' image-build-engine='internal' target.type='image' target.image='xprobe/xinference:v0.14.0' continue.mode='probe' rt.as.user='true' keep.perms='true' cmd=build state=image.inspection.start cmd=build info=image id='sha256:ef25a8c0d302bdbf03f14926e561ca6d6cfede82383cad85d3fc978ae95bc983' size.bytes='15526677283' size.human='16...
Expected Behavior ================= ``` cmd=build info=exec message='changing continue-after from probe to nothing because http-probe is disabled' cmd=build info=exec message='changing continue-after to enter' cmd=build state=started cmd=build info=params target.image='registry.gxp2.com/develop/psm-web:test' continue.mode='enter' rt.as.user='true' keep.perms='true'...
Expected Behavior ================= `--include-exe=mkdir` results in a slim image that includes `mkdir` without needing to specify any other `--include-*` options or `--exec`. I'm sorry if this is 'user error' because...
Expected Behavior ================= docker-slim build return 0 version: latest release --- Actual Behavior ================= docker-slim build \ > --http-probe=false \ > --continue-after=1 \ > --include-bin=/bin/bash \ > --include-shell --include-oslibs-net --include-ssh-client...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3. Release notes Sourced from actions/upload-artifact's releases. v4.4.3 What's Changed Undo indirect dependency updates from #627 by @joshmgross in actions/upload-artifact#632 Full Changelog: https://github.com/actions/upload-artifact/compare/v4.4.2...v4.4.3 v4.4.2 What's...
Expected Behavior ================= Use the `creport.json` generated from the `slim profile` command as an input for the `slim build`. Keep only the file paths from the `creport.json` file --- Actual...
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1. Release notes Sourced from actions/checkout's releases. v4.2.1 What's Changed Check out other refs/* by commit if provided, fall back to ref by @orhantoy in...
pkg/app/master/command/build/image.go [Fixes-###](https://github.com/docker-slim/docker-slim/issues/###) ================================================================== What =============== When I run `slim build` with `--use-local-mounts=true` and provide local state-path. Then the slim build will fail with error ``` cmd=build info=build.error status='optimized.image.build.error' error='no layers'...
I use a centos base image to build my dotnet runtime image.It becomes really slim(only 3.5M),but the dotnet runtime lost
Expected Behavior ================= keep shell env after slim build --- Actual Behavior ================= we run with shell include as: docker-slim --report /root/slim.report.json build --http-probe=false --continue-after=1 --include-shell=true --include-oslibs-net=true --include-ssh-client=true ndsmodeler:20240914 the...