Add ruamel.yaml to docker image (#9707)

pull/9708/head
Florian Ruynat 2023-01-27 03:26:25 +01:00 committed by GitHub
parent 57638124c5
commit 6881398941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ RUN python3 -m pip install --no-cache-dir \
netaddr==0.7.19 \ netaddr==0.7.19 \
jmespath==1.0.1 \ jmespath==1.0.1 \
MarkupSafe==1.1.1 \ MarkupSafe==1.1.1 \
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 -LO https://storage.googleapis.com/kubernetes-release/release/$KUBE_VERSION/bin/linux/$ARCH/kubectl \ && curl -LO https://storage.googleapis.com/kubernetes-release/release/$KUBE_VERSION/bin/linux/$ARCH/kubectl \
&& chmod a+x kubectl \ && chmod a+x kubectl \