Skip to content

Commit 78c5638

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "neutron: Add docker clients for ML2/OVS improvement"
2 parents ec782ff + 6da05fc commit 78c5638

File tree

4 files changed

+35
-1
lines changed

4 files changed

+35
-1
lines changed

docker/base/Dockerfile.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ COPY dnf.conf /etc/dnf/dnf.conf
5252

5353
#### BEGIN REPO ENABLEMENT
5454
{% set base_yum_repo_files = [
55+
'docker-ce.repo',
5556
'grafana.repo',
5657
'influxdb.repo',
5758
'mariadb.repo',
@@ -303,6 +304,7 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
303304

304305
{# NOTE(hrw): type field defaults to 'asc' which is used for single keys #}
305306
{% set base_remote_apt_keys = [
307+
{'name': 'docker-ce', 'url': 'https://download.docker.com/linux/debian/gpg'},
306308
{'name': 'grafana', 'url': 'https://rpm.grafana.com/gpg.key'},
307309
{'name': 'influxdb', 'url': 'https://repos.influxdata.com/influxdata-archive_compat.key'},
308310
{'name': 'mariadb', 'url': 'https://downloads.mariadb.com/MariaDB/mariadb-keyring-2019.gpg', 'type': 'gpg'},

docker/base/docker-ce.repo

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[docker-ce]
2+
name=Docker CE Stable - $basearch
3+
baseurl=https://download.docker.com/linux/centos/$releasever/$basearch/stable
4+
enabled=1
5+
gpgcheck=1
6+
gpgkey=https://download.docker.com/linux/centos/gpg

docker/neutron/neutron-base/Dockerfile.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
77

88
{% import "macros.j2" as macros with context %}
99

10-
{{ macros.enable_extra_repos(['openvswitch']) }}
10+
{{ macros.enable_extra_repos(['docker-ce', 'openvswitch']) }}
1111
{{ macros.configure_user(name='neutron') }}
1212

1313
{% if base_package_type == 'rpm' %}
@@ -16,6 +16,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
1616
'conntrack-tools',
1717
'dnsmasq',
1818
'dnsmasq-utils',
19+
'docker-ce-cli',
1920
'haproxy',
2021
'iproute-tc',
2122
'ipset',
@@ -35,6 +36,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
3536
'conntrack',
3637
'dnsmasq',
3738
'dnsmasq-utils',
39+
'docker-ce-cli',
3840
'haproxy',
3941
'iproute2',
4042
'ipset',

kolla/template/repos.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
centos:
33
ceph: "centos-ceph-reef"
44
crb: "crb"
5+
docker-ce: "docker-ce"
56
epel: "epel"
67
erlang: "rabbitmq_rabbitmq-erlang"
78
extras: "extras"
@@ -20,6 +21,7 @@ centos:
2021
centos-aarch64:
2122
ceph: "centos-ceph-reef"
2223
crb: "crb"
24+
docker-ce: "docker-ce"
2325
epel: "epel"
2426
erlang: "copr-rabbitmq-erlang"
2527
extras: "extras"
@@ -39,6 +41,11 @@ centos-aarch64:
3941
# https://www.rabbitmq.com/install-debian.html#apt-cloudsmith
4042

4143
debian:
44+
docker-ce:
45+
url: "https://download.docker.com/linux/debian"
46+
suite: "bookworm"
47+
component: "stable"
48+
gpg_key: "docker-ce.asc"
4249
erlang:
4350
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
4451
suite: "jammy"
@@ -86,6 +93,11 @@ debian:
8693
gpg_key: "rabbitmq.gpg"
8794

8895
debian-aarch64:
96+
docker-ce:
97+
url: "https://download.docker.com/linux/debian"
98+
suite: "bookworm"
99+
component: "stable"
100+
gpg_key: "docker-ce.asc"
89101
erlang:
90102
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
91103
suite: "jammy"
@@ -138,6 +150,7 @@ debian-aarch64:
138150
rocky:
139151
ceph: "centos-ceph-reef"
140152
crb: "crb"
153+
docker-ce: "docker-ce"
141154
epel: "epel"
142155
erlang: "rabbitmq_rabbitmq-erlang"
143156
extras: "extras"
@@ -156,6 +169,7 @@ rocky:
156169
rocky-aarch64:
157170
ceph: "centos-ceph-reef"
158171
crb: "crb"
172+
docker-ce: "docker-ce"
159173
epel: "epel"
160174
erlang: "copr-rabbitmq-erlang"
161175
extras: "extras"
@@ -172,6 +186,11 @@ rocky-aarch64:
172186
rabbitmq: "rabbitmq_rabbitmq-server"
173187

174188
ubuntu:
189+
docker-ce:
190+
url: "https://download.docker.com/linux/ubuntu"
191+
suite: "noble"
192+
component: "stable"
193+
gpg_key: "docker-ce.asc"
175194
erlang:
176195
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
177196
suite: "noble"
@@ -220,6 +239,11 @@ ubuntu:
220239
gpg_key: "rabbitmq.gpg"
221240

222241
ubuntu-aarch64:
242+
docker-ce:
243+
url: "https://download.docker.com/linux/ubuntu"
244+
suite: "noble"
245+
component: "stable"
246+
gpg_key: "docker-ce.asc"
223247
erlang:
224248
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
225249
suite: "noble"

0 commit comments

Comments
 (0)