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

Change-Id: I867e14c379935a22e77f2c6ac559d66a34cbc96e
Signed-off-by: caviedesj <juancamilo.caviedesvalencia.ext@telefonica.com>
diff --git a/Dockerfile.production b/Dockerfile.production
index 9d99ea2..36519b6 100644
--- a/Dockerfile.production
+++ b/Dockerfile.production
@@ -57,8 +57,7 @@
 # Install OSM packages (assuming they provide source packages or wheels)
 ARG IM_GERRIT_REFSPEC=master
 
-RUN --mount=type=cache,target=/root/.cache/pip \
-  git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/IM.git /tmp/osm-im && \
+RUN git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/IM.git /tmp/osm-im && \
   cd /tmp/osm-im && \
   git fetch origin ${IM_GERRIT_REFSPEC} && \
   git checkout FETCH_HEAD && \
@@ -67,8 +66,7 @@
   pip install /tmp/osm-im
 
 COPY . /tmp/osmclient/
-RUN --mount=type=cache,target=/root/.cache/pip \
-    cd /tmp/osmclient && \
+RUN cd /tmp/osmclient && \
     pip install --no-cache-dir -r /tmp/osmclient/requirements.txt && \
     pip install /tmp/osmclient && \
     cd -