slimtoolkit / slimtoolkit/slim
Git has been slimmed from Jenkins docker images
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.4k
- Forks
- 840
- PR merge metrics
- No merged PRs in 30d
Description
Hi All:
I tried to use jenkins docker images (official version jenkinsci/blueocean)to test docker-slim today. The build process was succeed and finally generated a slimmed version.
But when I tested the new version, found that it could not pull code from git repository as git could not be found in container.
I also used docker exec command to log into container, and ensure there was no git.
I don't know whether it is a bug, any suggestion to address this problem?

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report by slimming the official jenkinsci/blueocean image, then inspect the resulting container to confirm whether git is absent. Trace how docker-slim determines retained binaries and verify the result by running a Jenkins Git checkout; done means the slimmed image retains git and can pull the repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, git
- Domain
- devops, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100