From a6be66df5774082c3ce53b40f524067302bf9887 Mon Sep 17 00:00:00 2001 From: caviedesj Date: Thu, 15 Jan 2026 14:12:38 +0100 Subject: [PATCH] Fix. Update Dockerfile with osm-packages and remove type cache mount Change-Id: If2f671958bbb1169f19fc7380a46408714106319 Signed-off-by: caviedesj --- Dockerfile.production | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile.production b/Dockerfile.production index 4c065681..dcc1b844 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -102,8 +102,7 @@ RUN git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/osmclien COPY . /tmp/osm-tests/ # Install test requirements leveraging BuildKit cache -RUN --mount=type=cache,target=/root/.cache/pip \ - cd /tmp/osm-tests && \ +RUN cd /tmp/osm-tests && \ pip install --no-cache-dir -r /tmp/osm-tests/requirements.txt && \ pip install /tmp/osm-tests && \ cd - @@ -113,6 +112,13 @@ RUN mv /tmp/osm-tests/robot-systest /robot-systest/ && \ mv /tmp/osm-tests/conformance-tests/ /robot-systest/ && \ mv /tmp/osm-tests/charm.sh /usr/sbin/charm +# Download osm-packages repository for tests +ARG CACHE_DATE=not_a_date +RUN git clone \ + https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages.git \ + --recurse-submodules \ + /robot-systest/osm-packages + WORKDIR /robot-systest # Folder where Robot tests are stored -- 2.25.1