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

Change-Id: Ie3c12b38359c18158717c3938b7d0c0b4092cc98
Signed-off-by: caviedesj <juancamilo.caviedesvalencia.ext@telefonica.com>
diff --git a/Dockerfile.production b/Dockerfile.production
index b6c1db5..3b17dee 100644
--- a/Dockerfile.production
+++ b/Dockerfile.production
@@ -36,8 +36,7 @@
 
 FROM base AS builder
 
-RUN --mount=type=cache,target=/var/cache/apk \
-    apk add --no-cache --virtual .build-deps \
+RUN apk add --no-cache --virtual .build-deps \
         build-base gcc \
             musl-dev \
             libffi-dev \
@@ -82,8 +81,7 @@
 COPY configs/vcluster.yaml /etc/vcluster.yaml
 
 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 && \
@@ -93,8 +91,7 @@
 
 
 ARG CLIENT_GERRIT_REFSPEC=master
-RUN --mount=type=cache,target=/root/.cache/pip \
-    git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/osmclient.git /tmp/osmclient && \
+RUN git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/osmclient.git /tmp/osmclient && \
     cd /tmp/osmclient && \
     git fetch origin ${CLIENT_GERRIT_REFSPEC} && \
     git checkout FETCH_HEAD && \