Commit ed0b8bf
committed
fix (base/ubi10): remove dnf update and shadow-utils reinstall for base UBI 10 Dockerfile
UBI images can contain preinstalled packages that are not reinstallable from
enabled repositories, which causes `dnf reinstall shadow-utils` to fail in
Eclipse Che / OpenShift environments.
Additionally, removing the final `dnf update` avoids pulling inconsistent
package sets during container builds and improves reproducibility across
local and cloud-based development environments.
Signed-off-by: Rohan Kumar <rohaan@redhat.com>1 parent 4fbd385 commit ed0b8bf
1 file changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
51 | | - | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments