From aeebf1fd7f060f487d32601e2d0a8d98cd55d3cf Mon Sep 17 00:00:00 2001 From: caviedesj Date: Fri, 9 Jan 2026 11:46:40 +0100 Subject: [PATCH] Fix 11077. Update Dockerfile.production to remove the mount type cache Change-Id: Ie3c12b38359c18158717c3938b7d0c0b4092cc98 Signed-off-by: caviedesj --- Dockerfile.production | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile.production b/Dockerfile.production index b6c1db50..3b17deef 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -36,8 +36,7 @@ ENV PYTHONUNBUFFERED=1 \ 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 @@ RUN curl -L -o /tmp/vcluster "https://github.com/loft-sh/vcluster/releases/downl 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 @@ RUN --mount=type=cache,target=/root/.cache/pip \ 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 && \ -- 2.25.1