11# ######################################################## TOOLCHAIN VERSIONING #########################################
22ARG UBUNTU_VERSION="24.04"
3- ARG DOCKER_VERSION="24.0.7 "
4- ARG KUBECTL_VERSION="1.28 .2"
5- ARG OC_CLI_VERSION="4.14.1 "
6- # Using Helm 3.10.1 as the latest Helm version has a null value override issue.
7- # For additional details, refer to: https://github.com/helm/helm/issues/5184
8- ARG HELM_VERSION="3.10.1 "
3+ ARG DOCKER_VERSION="28.3.2 "
4+ ARG KUBECTL_VERSION="1.30 .2"
5+ ARG OC_CLI_VERSION="4.17.0 "
6+ # Helm 3.10.1 is quite old. The null value override issue (helm/helm#5184)
7+ # was for Helm 3.0.0. Later 3.x versions fixed this.
8+ ARG HELM_VERSION="3.15.0 "
99ARG TERRAFORM_VERSION="1.6.4"
10- ARG ANSIBLE_CORE_VERSION="2.15.6"
11- ARG ANSIBLE_VERSION="8.6.1"
12- ARG ANSIBLE_LINT="6.22.0"
13- ARG JINJA_VERSION="3.1.2"
14- ARG CRICTL_VERSION="1.28.0"
15- ARG VELERO_VERSION="1.12.1"
16- ARG ZSH_VERSION="5.8.1"
17- ARG VAULT_VERSION="1.15.2"
10+
11+ ARG PYTHON_DEFAULT_VERSION="3.12"
12+ ARG ANSIBLE_CORE_VERSION="2.18.7"
13+ ARG ANSIBLE_VERSION="11.8.0"
14+ ARG ANSIBLE_LINT="7.2.0"
15+ ARG JINJA_VERSION="3.1.6"
16+
17+ ARG CRICTL_VERSION="1.30.0"
18+ ARG VELERO_VERSION="1.13.0"
19+ ARG ZSH_VERSION="5.9"
20+ ARG VAULT_VERSION="1.17.0
1821
1922######################################################### BINARY-DOWNLOADER ############################################
2023FROM alpine as binary_downloader
@@ -176,7 +179,7 @@ RUN apt-get update && \
176179 lsb-release \
177180 nano \
178181 net-tools \
179- netcat \
182+ netcat-traditional \
180183 nmap \
181184 openssl \
182185 python3 \
@@ -208,8 +211,11 @@ RUN apt-get update && \
208211 zsh
209212RUN git config --global --add safe.directory '*'
210213
214+ RUN python3 -V
215+
216+ RUN pip --version
211217#install common requirements
212- RUN pip3 install \
218+ RUN pip install --break-system-packages \
213219 cryptography \
214220 hvac \
215221 jmespath \
@@ -226,19 +232,19 @@ RUN pip3 install \
226232
227233#install ansible
228234RUN if [[ ! -z ${ANSIBLE_VERSION} && ! -z ${JINJA_VERSION} ]] ; then \
229- pip3 install \
235+ pip install --break-system-packages \
230236 ansible-core==${ANSIBLE_CORE_VERSION} \
231237 ansible==${ANSIBLE_VERSION} \
232- ansible-lint==${ANSIBLE_LINT} \
238+ ansible-lint \
233239 jinja2==${JINJA_VERSION}; \
234240 fi
235241
236242#install ansible collection
237243RUN ansible-galaxy collection install kubernetes.core
238244RUN ansible-galaxy collection install azure.azcollection --force
239245
240- RUN pip3 install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements.txt -v
241- RUN pip3 install azure-cli
246+ RUN pip install --break-system-packages -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements.txt -v
247+ RUN pip install --break-system-packages azure-cli
242248
243249ENV TERM xterm
244250ENV ZSH_THEME agnoster
0 commit comments