From a01a597cf7f56caeaf182b6464bb995759197fe7 Mon Sep 17 00:00:00 2001 From: caviedesj Date: Fri, 9 Jan 2026 11:36:28 +0100 Subject: [PATCH] Fix 11077. Update Dockerfile.production to remove the mount type cache Change-Id: I867e14c379935a22e77f2c6ac559d66a34cbc96e Signed-off-by: caviedesj --- Dockerfile.production | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile.production b/Dockerfile.production index 9d99ea21..36519b67 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -57,8 +57,7 @@ ENV PATH="/app/osmclient/.venv/bin:$PATH" # 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 @@ RUN --mount=type=cache,target=/root/.cache/pip \ 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 - -- 2.25.1