diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 85a74b30a95ae953a43dfe4870f0d4f4cdce66e9..f549f5598d30882f1d1a403d24dd7338d448501e 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,25 +35,25 @@ tp:
   variables:
     IMAGE_NAME: "tp"
   extends:
-    - ..extend_build_image:
+    - .extend_build_image
 
 python311:
   variables:
     IMAGE_NAME: "python311"
   extends:
-    - ..extend_build_image:
+    - .extend_build_image
 
 basis_jupytermachine:
   variables:
     IMAGE_NAME: "basis_jupytermachine"
   extends:
-    - ..extend_build_image:
+    - .extend_build_image
 
 tp_herwig:
   variables:
     IMAGE_NAME: "tp_herwig"
   extends:
-    - ..extend_build_image:
+    - .extend_build_image
 
 create_jupytermachine_version:
   stage: create_jupytermachine_version
diff --git a/basis/Dockerfile b/basis/Dockerfile
index 4696e90cbcf1c83d2cc4b884ecd7e5b4b7f1e85a..367dcc7c054bcb81ef323c0dd3fd026a25fec40e 100755
--- a/basis/Dockerfile
+++ b/basis/Dockerfile
@@ -24,27 +24,27 @@ RUN apt-get update -y && apt-get upgrade -y && \
 
 
 ### installing pip packages
-RUN pip install numpy \
-                matplotlib \
-                scipy \
-                seaborn \
-                uncertainties \
-                pyunfold \
-                PhyPraKit \
-                pandas \
-                kafe2 \
-                pydot \
-                graphviz \
-                scikit-learn \
-                jupytext \
-                nbgitpuller \
-                jupyterlab-git \
-                ipympl \
-                pyarrow \
-                ipywidgets \
-                jupyter-server \
-                bash_kernel \
-                --upgrade --no-cache-dir
+RUN pip install --upgrade --no-cache-dir \
+    numpy \
+    matplotlib \
+    scipy \
+    seaborn \
+    uncertainties \
+    pyunfold \
+    PhyPraKit \
+    pandas \
+    kafe2 \
+    pydot \
+    graphviz \
+    scikit-learn \
+    jupytext \
+    nbgitpuller \
+    jupyterlab-git \
+    ipympl \
+    pyarrow \
+    ipywidgets \
+    jupyter-server \
+    bash_kernel
 
 RUN pip install iminuit --no-cache-dir