From 4155fc0a56702e85a120cad08e41a8f8cafb50f1 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Sun, 24 Apr 2022 21:40:43 +0200 Subject: [PATCH] Move package installation from apt to pip --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a9b5887..0851022 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,6 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco openssh-client \ # (python3-*) Dependency for installation of Ansible python3-pip \ - python3-setuptools \ - python3-wheel \ yamllint && \ sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ locale-gen && \ @@ -39,9 +37,11 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco # (netaddr) Dependency for Ansible 'ipaddr' filter netaddr \ # (pyvmomi) Dependency for Ansible 'community.vmware' collection - pyvmomi && \ + pyvmomi \ # (pyyaml) Dependency for Ansible 'kubernetes.core' collection -# pyyaml && \ + pyyaml \ + setuptools \ + wheel && \ apt-get remove -y \ curl && \ apt-get autoremove -y && \