From 042275aae39a015bbc47d9e2d31bd2c30dad1d5b Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 2 Feb 2023 08:38:10 +0100 Subject: [PATCH] Fix packaging uninstallation error --- Dockerfile.linux.amd64 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile.linux.amd64 b/Dockerfile.linux.amd64 index 4d8fe87..55fca7f 100644 --- a/Dockerfile.linux.amd64 +++ b/Dockerfile.linux.amd64 @@ -27,9 +27,10 @@ RUN rm -rf /var/cache/apk/* # install ansible + linters RUN pip3 install --upgrade pip -RUN pip3 install ansible-core==${ANSIBLE_VERSION} -RUN pip3 install ansible-lint==${ANSIBLE_LINT_VERSION} -RUN pip3 install yamllint==${YAML_LINT_VERSION} +RUN pip3 install --use-pep517 --ignore-installed \ + ansible-core==${ANSIBLE_VERSION} \ + ansible-lint==${ANSIBLE_LINT_VERSION} \ + yamllint==${YAML_LINT_VERSION} # install ansible collections