Dockerfile after ansible upgrade (#10259)

pull/10264/head
yun 2023-06-28 18:54:32 +08:00 committed by GitHub
parent 37e004164b
commit 9a896957d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -28,13 +28,13 @@ RUN apt update -q \
rsync \ rsync \
openssh-client \ openssh-client \
&& pip install --no-compile --no-cache-dir \ && pip install --no-compile --no-cache-dir \
ansible==5.7.1 \ ansible==7.6.0 \
ansible-core==2.12.10 \ ansible-core==2.14.6 \
cryptography==3.4.8 \ cryptography==41.0.1 \
jinja2==3.1.2 \ jinja2==3.1.2 \
netaddr==0.8.0 \ netaddr==0.8.0 \
jmespath==1.0.1 \ jmespath==1.0.1 \
MarkupSafe==2.1.2 \ MarkupSafe==2.1.3 \
ruamel.yaml==0.17.21 \ ruamel.yaml==0.17.21 \
&& KUBE_VERSION=$(sed -n 's/^kube_version: //p' roles/kubespray-defaults/defaults/main.yaml) \ && KUBE_VERSION=$(sed -n 's/^kube_version: //p' roles/kubespray-defaults/defaults/main.yaml) \
&& curl -L https://dl.k8s.io/release/$KUBE_VERSION/bin/linux/$(dpkg --print-architecture)/kubectl -o /usr/local/bin/kubectl \ && curl -L https://dl.k8s.io/release/$KUBE_VERSION/bin/linux/$(dpkg --print-architecture)/kubectl -o /usr/local/bin/kubectl \