From fd375b5976f74047d581248f932ca7f32e878c78 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Sat, 30 Dec 2023 15:18:04 +0100
Subject: [PATCH] Bug fix with pip3

---
 Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 945fb9b..4e772e1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -64,8 +64,6 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
     apk add --no-cache openssh wget make patch bash fish zsh python3 python3-dev git git-lfs unzip acl libc-dev libpng-dev libzip-dev sudo jq nano rsync gcc && \
     ln -sf python3 /usr/bin/python && \
     ln -sf pip3 /usr/bin/pip && \
-    pip3 install wheel && \
-    pip3 install jc && \
     apk add --no-cache mandoc py3-pip gettext && \
     if [ "${ALPINE_VERSION}" != "3.12" ]; then \
       apk add --no-cache bat ; \
@@ -85,6 +83,9 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
     ln -sf /usr/lib/libgcc_s.so.1 /lib/libgcc_s.so.1 && \
     ln -sf /lib/libgcc_s.so.1 /usr/glibc-compat/lib/ && \
     \
+    pip install wheel && \
+    pip install jc && \
+    \
     wget -q https://gitlab.com/gitlab-org/cli/-/releases/v${GLAB_VERSION}/downloads/glab_${GLAB_VERSION}_Linux_x86_64.apk && \
     apk add --no-cache --allow-untrusted glab_${GLAB_VERSION}_Linux_x86_64.apk && \
     rm glab_${GLAB_VERSION}_Linux_x86_64.apk && \
-- 
GitLab