aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org>2023-06-14 13:54:10 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2023-08-18 06:48:11 +0000
commit7fa2ac132cce94aae8cd3d196abba342394f6c70 (patch)
tree151dab788bfeedcefd04f12d719261f3ec8e7053 /docker
parenta004abbdc36b425576c7a9a8c480df938f5c0a1f (diff)
downloadkolla-7fa2ac132cce94aae8cd3d196abba342394f6c70.tar.gz
kolla-7fa2ac132cce94aae8cd3d196abba342394f6c70.zip
Move to Debian 12 'bookworm'
We move to use some components from distribution instead of 3rdparty repos. At least for now - this may/will change later. Packages from Debian: - Erlang 25.2 - MariaDB 10.11 Some Ubuntu/jammy repositories are used in places where there is not (yet) Debian/bookworm one. openvswitch-netcontrold image fails as it needs to be converted to use virtualenv - added into unbuildable images for now. See https://etherpad.opendev.org/p/kolla-bobcat-ptg#L199 for more information. Depends-On: https://review.opendev.org/891946 Change-Id: I45b5a5980fb2318f1aab23a3a6aaf0922563b171
Diffstat (limited to 'docker')
-rw-r--r--docker/base/Dockerfile.j22
-rw-r--r--docker/base/apt_preferences.debian17
-rw-r--r--docker/base/sources.list.debian8
3 files changed, 6 insertions, 21 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2
index 9fc935a79..4e9fc3f28 100644
--- a/docker/base/Dockerfile.j2
+++ b/docker/base/Dockerfile.j2
@@ -254,7 +254,7 @@ COPY sources.list /etc/apt/sources.list.d/kolla-custom.list
RUN apt update \
&& apt install -y --no-install-recommends extrepo \
- && extrepo enable openstack_zed \
+ && extrepo enable openstack_antelope \
&& apt purge -y extrepo \
&& apt --purge autoremove -y \
&& apt clean
diff --git a/docker/base/apt_preferences.debian b/docker/base/apt_preferences.debian
index 21e99839e..394fff1fe 100644
--- a/docker/base/apt_preferences.debian
+++ b/docker/base/apt_preferences.debian
@@ -4,20 +4,5 @@ Pin-Priority: 1000
# NOTE(hrw): we do not want backports unless requested
Package: *
-Pin: release n=bullseye-backports
+Pin: release n=bookworm-backports
Pin-Priority: -1000
-
-# NOTE(hrw): let us list some backports
-# - openvswitch 2.15
-# - ovn 21.06
-# - libvirt 8
-# - qemu 7.*
-# - swtpm
-Package: openvswitch* python3-openvswitch ovn-* libvirt* qemu-* swtpm* libtpms0
-Pin: release n=bullseye-backports
-Pin-Priority: 1024
-
-# NOTE(hrw): Debian OpenStack Team repo has some backports we do not want
-Package: git*
-Pin: release n=bullseye
-Pin-Priority: 1024
diff --git a/docker/base/sources.list.debian b/docker/base/sources.list.debian
index 4c191417a..89f7a1160 100644
--- a/docker/base/sources.list.debian
+++ b/docker/base/sources.list.debian
@@ -1,11 +1,11 @@
# Default repos
-deb http://deb.debian.org/debian bullseye main
+deb http://deb.debian.org/debian bookworm main
# debian security updates
-deb http://deb.debian.org/debian-security bullseye-security main
+deb http://deb.debian.org/debian-security bookworm-security main
# debian updates
-deb http://deb.debian.org/debian bullseye-updates main
+deb http://deb.debian.org/debian bookworm-updates main
# debian backports
-deb http://deb.debian.org/debian bullseye-backports main
+deb http://deb.debian.org/debian bookworm-backports main