From 7f8792434d260ce975b284941787e97ff8f5a4a4 Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Wed, 14 Jul 2021 15:23:02 +0200
Subject: [PATCH] Add --ignore-installed six to pip install

Fixes

    ERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

see https://open.greenhost.net/openappstack/openappstack/-/jobs/99447
---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index e406b11f8..e1bd6f210 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -36,7 +36,7 @@ RUN \
   mkdir /var/cache/apk && \
   chmod a+x /usr/local/bin/* && \
   update-ca-certificates && \
-  pip install --no-cache-dir -r /requirements.txt && \
+  pip install --no-cache-dir --ignore-installed six -r /requirements.txt && \
   ln -s /usr/bin/python3 /usr/bin/python && \
   tar -xzf /tmp/flux*.tar.gz && mv ./flux /usr/local/bin && \
   npm install -g taiko@1.2.5
-- 
GitLab