diff options
| author | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2023-05-02 11:06:17 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org> | 2023-06-28 18:19:31 +0200 |
| commit | 3e4d291b12719e8ede9b2801847da987db2885dc (patch) | |
| tree | 59344b0c23d2d466a171079be7f89fa0de37bb93 /docker/base/Dockerfile.j2 | |
| parent | 3de04436fa0e497a08d5d4312e25bf4b1049cac2 (diff) | |
| download | kolla-3e4d291b12719e8ede9b2801847da987db2885dc.tar.gz kolla-3e4d291b12719e8ede9b2801847da987db2885dc.zip | |
base: Debian 12 uses new APT sources file
For start we will use same APT sources.list format as we used in past
(and use with Ubuntu). But we need to remove what is in container to
make sure that CI jobs would use mirror only.
Change-Id: I82dd0e8667e44250d2892538819c12e6c775618b
Diffstat (limited to 'docker/base/Dockerfile.j2')
| -rw-r--r-- | docker/base/Dockerfile.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index 1300fb45f..9fc935a79 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -239,6 +239,7 @@ RUN cat /tmp/kolla_bashrc >> /etc/bash.bashrc \ {% block base_ubuntu_package_sources_list %} {% if base_distro == 'debian' or ( base_distro == 'ubuntu' and base_arch == 'x86_64' ) %} +RUN rm -f /etc/apt/sources.list.d/debian.sources COPY sources.list.{{ base_distro }} /etc/apt/sources.list {% else %} COPY sources.list.{{ base_distro }}.{{ base_arch }} /etc/apt/sources.list |
