Commit 5afcaa2
authored
The upstream install script installs the config globally (scoped to the
user). It is run as root, thus installed to `/root/.gitconfig` and
unavailable to the jenkins user. Installing to the system, as distro
packages do, makes the config available to any user (i.e. jenkins).
The script currently has no way to change the scope or to opt out of the
installation. The global config could be safely removed to save a few
bytes, but opting for a slightly shorter Dockerfile instead.
1 parent 9a3941d commit 5afcaa2
File tree
4 files changed
+4
-0
lines changed- alpine
- debian
- rhel/ubi9
- tests
4 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments