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

Integrate docker-slim for waaaaaaaay smaller run images #33

Merged
merged 28 commits into from
Oct 26, 2024
Merged

Integrate docker-slim for waaaaaaaay smaller run images #33

merged 28 commits into from
Oct 26, 2024

Conversation

lreiher
Copy link
Member

@lreiher lreiher commented Sep 5, 2024

docker-ros now integrates the slim toolkit for minifying container images. slim is enabled by default and will, in addition to the run deployment image, produce an additional :latest-slim-tagged minified image. Note that the slimmed deployment image is stripped of every single thing not needed for executing the default launch command. The slimming process can be controlled via the SLIM_BUILD_ARGS configuration variable.

.gitlab-ci/docker-ros.yml Outdated Show resolved Hide resolved
.gitlab-ci/docker-ros.yml Outdated Show resolved Hide resolved
.gitlab-ci/docker-ros.yml Outdated Show resolved Hide resolved
.gitlab-ci/docker-ros.yml Outdated Show resolved Hide resolved
.gitlab-ci/docker-ros.yml Outdated Show resolved Hide resolved
@lreiher lreiher force-pushed the slim branch 3 times, most recently from 9d11861 to a795fb6 Compare October 24, 2024 11:39
@lreiher lreiher force-pushed the slim branch 2 times, most recently from 5f36975 to a95b797 Compare October 24, 2024 12:11
@lreiher lreiher marked this pull request as ready for review October 25, 2024 06:46
.gitlab-ci/docker-ros.yml Outdated Show resolved Hide resolved
scripts/ci.sh Outdated Show resolved Hide resolved
@lreiher lreiher merged commit 8f66397 into main Oct 26, 2024
6 checks passed
@lreiher lreiher deleted the slim branch November 18, 2024 21:43
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

Successfully merging this pull request may close these issues.

2 participants