Move package installation from apt to pip
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-04-24 21:40:43 +02:00
parent 4a40c3e08e
commit 4155fc0a56

View File

@ -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 && \