Commit fa50b9d
committed
fix(cve): dist-upgrade base OS packages in the fat linstor images
The spaas, drbd-reactor, metadata-backup and linstor-server final images are
built from the Alt builder and ship a full OS, so Trivy flags their base
packages (curl, etc. — CRITICAL/HIGH ALT advisories). Add
`apt-get -y dist-upgrade` after the existing `apt-get update` in each final
stage to pull the security-patched packages from the Alt P11 repo.
Signed-off-by: v.oleynikov <vasily.oleynikov@flant.com>1 parent 2351d0d commit fa50b9d
4 files changed
Lines changed: 4 additions & 0 deletions
File tree
- images
- drbd-reactor
- linstor-server
- metadata-backup
- spaas
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments