Fix 11077. Update Dockerfile.production to remove the mount type cache

Change-Id: I76b67225588b9bea7056ba3644d77bc760828739
Signed-off-by: caviedesj <juancamilo.caviedesvalencia.ext@telefonica.com>
diff --git a/Dockerfile.production b/Dockerfile.production
index 495004e..5130fe9 100644
--- a/Dockerfile.production
+++ b/Dockerfile.production
@@ -78,8 +78,7 @@
 
 # Install OSM dependency modules
 
-RUN --mount=type=cache,target=/root/.cache/pip \
-  git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/common.git /tmp/osm-common && \
+RUN git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/common.git /tmp/osm-common && \
   cd /tmp/osm-common && \
   git fetch origin ${COMMON_GERRIT_REFSPEC} && \
   git checkout FETCH_HEAD && \
@@ -90,7 +89,7 @@
 COPY requirements.txt ./
 
 # Install py-radix from source with a one-line patch (no build isolation)
-RUN --mount=type=cache,target=/root/.cache/pip \
+RUN \
     # py-radix is installed as dependency of the ipconflict package
     # the installation is a bit special as it is not fully compatible with Alpine library versions
     # similar issue reported here: https://github.com/mjschultz/py-radix/issues/70
@@ -99,8 +98,7 @@
     pip install --no-build-isolation /tmp/py-radix && \
     pip install -r requirements.txt
 
-RUN --mount=type=cache,target=/root/.cache/pip \
-    pip install git+https://github.com/mjschultz/py-radix.git && \
+RUN pip install git+https://github.com/mjschultz/py-radix.git && \
     pip install -r requirements.txt
 
 COPY . .