From: caviedesj Date: Fri, 9 Jan 2026 10:36:28 +0000 (+0100) Subject: Fix 11077. Update Dockerfile.production to remove the mount type cache X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F15643%2F2;p=osm%2Fosmclient.git Fix 11077. Update Dockerfile.production to remove the mount type cache Change-Id: I867e14c379935a22e77f2c6ac559d66a34cbc96e Signed-off-by: caviedesj --- diff --git a/Dockerfile.production b/Dockerfile.production index 9d99ea2..36519b6 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 -