Commit 604fa6f
committed
Ubuntu: add base repos to Kolla container image earlier
Previously when building Kolla container images for Ubuntu it was common
to get a dependency error during apt package installation, such as:
The following packages have unmet dependencies:
libc6-dev : Depends: libc6 (= 2.35-0ubuntu3.1) but 2.35-0ubuntu3.4 is to be installed
This is caused by the packages in the Ubuntu base image being newer than
those in the release train repository snapshot.
This change fixes the issue by switching to the release train
repositories earlier in the build process, before the first apt command
runs.
It's possible that we may also need to pin the Ubuntu base container
image, but that would be another thing to maintain, so let's try without
for now since this approach is necessary and may be sufficient.1 parent ec1ff05 commit 604fa6f
File tree
2 files changed
+26
-3
lines changed- etc/kayobe
- releasenotes/notes
2 files changed
+26
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
| 280 | + | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
286 | 289 | | |
287 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
288 | 294 | | |
289 | 295 | | |
290 | 296 | | |
| |||
304 | 310 | | |
305 | 311 | | |
306 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
307 | 320 | | |
308 | 321 | | |
309 | 322 | | |
| |||
320 | 333 | | |
321 | 334 | | |
322 | 335 | | |
| 336 | + | |
323 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
324 | 341 | | |
325 | | - | |
| 342 | + | |
326 | 343 | | |
327 | 344 | | |
328 | 345 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments