diff --git a/Dockerfile b/Dockerfile
index 16b30f96cbde4b51f4708cbba0688006b8b8b174..4cc2eedcd2429e65f7eb21bae77883437cef0959 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,9 +15,7 @@ RUN mkdir -p /app/gap/collections /app/gap/roles /etc/ansible && \
 RUN pip install \
     --pre \
     --extra-index-url https://artifactory.software.geant.org/artifactory/api/pypi/geant-swd-pypi/simple \
-    --target /app \
     goat-lso==${ARTIFACT_VERSION} && \
-    pip install ansible~=8.1.0 && \
     ansible-galaxy collection install  \
                    community.general  \
                    juniper.device \