File tree Expand file tree Collapse file tree 6 files changed +29
-12
lines changed Expand file tree Collapse file tree 6 files changed +29
-12
lines changed Original file line number Diff line number Diff line change 1
- FROM rockylinux:9.3
1
+ FROM rockylinux/rockylinux:9
2
2
3
3
RUN dnf -y update && \
4
- dnf -y install gcc git iputils jq libffi-devel openssl-devel perl-Digest-SHA procps-ng python3-devel python3-libselinux rsync sshpass unzip wget which && \
4
+ dnf -y install gcc git iputils jq libffi-devel openssl-devel perl-Digest-SHA procps-ng python3.12 python3.12 -devel python3.12-pip python3-libselinux rsync sshpass unzip wget which && \
5
5
dnf clean all && \
6
6
rm -rf /var/cache/yum
7
7
8
8
# kolla-ansible has specific dependencies on the ansible versions
9
- RUN pip install --no-cache-dir --upgrade pip && \
10
- pip install --no-cache-dir --upgrade 'ansible-core>=2.15,<2.16.99' && \
11
- pip install --no-cache-dir openstackclient
9
+ RUN pip3.12 install --no-cache-dir --upgrade pip && \
10
+ pip3.12 install --no-cache-dir --upgrade 'ansible-core>=2.15,<2.16.99' && \
11
+ pip3.12 install --no-cache-dir openstackclient
12
12
13
13
# checkout kolla-ansible
14
14
RUN git clone -b stable/2024.1 https://opendev.org/openstack/kolla-ansible.git /tmp/kolla-ansible
@@ -18,7 +18,7 @@ ADD patches /tmp/patches
18
18
RUN cd /tmp/kolla-ansible && git apply --allow-empty -v /tmp/patches/*.patch
19
19
20
20
# install patched kolla-ansible
21
- RUN pip install --no-cache-dir /tmp/kolla-ansible
21
+ RUN pip3.12 install --no-cache-dir /tmp/kolla-ansible
22
22
23
23
# create config file dirs
24
24
RUN mkdir -p /etc/kolla && \
Original file line number Diff line number Diff line change 1
- 0.0.1
1
+ 0.0.2
Original file line number Diff line number Diff line change 1
1
FROM rockylinux/rockylinux:9
2
2
3
3
RUN dnf -y update && \
4
- dnf -y install gcc git iputils jq libffi-devel openssl-devel perl-Digest-SHA procps-ng python3-devel python3-libselinux rsync sshpass unzip wget which && \
4
+ dnf -y install gcc git iputils jq libffi-devel openssl-devel perl-Digest-SHA procps-ng python3.12 python3.12 -devel python3.12-pip python3-libselinux rsync sshpass unzip wget which && \
5
5
dnf clean all && \
6
6
rm -rf /var/cache/yum
7
7
8
8
# kolla-ansible has specific dependencies on the ansible versions
9
- RUN pip install --no-cache-dir --upgrade pip && \
10
- pip install --no-cache-dir --upgrade 'ansible-core>=2.16,<2.17.99' && \
11
- pip install --no-cache-dir openstackclient
9
+ RUN pip3.12 install --no-cache-dir --upgrade pip && \
10
+ pip3.12 install --no-cache-dir --upgrade 'ansible-core>=2.16,<2.17.99' && \
11
+ pip3.12 install --no-cache-dir openstackclient
12
12
13
13
# checkout kolla-ansible
14
14
RUN git clone -b stable/2024.2 https://opendev.org/openstack/kolla-ansible.git /tmp/kolla-ansible
@@ -18,7 +18,7 @@ ADD patches /tmp/patches
18
18
RUN cd /tmp/kolla-ansible && git apply --allow-empty -v /tmp/patches/*.patch
19
19
20
20
# install patched kolla-ansible
21
- RUN pip install --no-cache-dir /tmp/kolla-ansible
21
+ RUN pip3.12 install --no-cache-dir /tmp/kolla-ansible
22
22
23
23
# create config file dirs
24
24
RUN mkdir -p /etc/kolla && \
Original file line number Diff line number Diff line change
1
+ 0.0.1
Original file line number Diff line number Diff line change
1
+ [defaults]
2
+ forks = 20
3
+ timeout = 60
4
+ display_skipped_hosts = False
5
+ gathering = smart
6
+ fact_caching = jsonfile
7
+ fact_caching_connection = /tmp/ansible-facts
8
+ inject_facts_as_vars = False
9
+
10
+ [ssh_connection]
11
+ pipelining = True
12
+
13
+ # https://github.com/ansible/awx/issues/14496
14
+ [galaxy]
15
+ server = https://old-galaxy.ansible.com/
16
+
You can’t perform that action at this time.
0 commit comments