slimtoolkit / slimtoolkit/slim

Git has been slimmed from Jenkins docker images

Open
#83 3 comments 0 reactions 0 assignees View on GitHub

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?
screenshotoferrormessage

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.