Reorder installation of n2vc and lcm requirements in LCM Dockerfile 93/14493/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 16 Jul 2024 16:14:34 +0000 (18:14 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 19 Jul 2024 07:32:04 +0000 (09:32 +0200)
Change-Id: Ie578638816105c15612fad3575e2cab0fcaec320
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
docker/LCM/Dockerfile

index af62d1f..a9c12e6 100644 (file)
@@ -59,16 +59,16 @@ ARG PYTHON3_N2VC_URL
 RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
 RUN dpkg -i ./osm_common.deb
 
-RUN curl $PYTHON3_OSM_LCM_URL -o osm_lcm.deb
-RUN dpkg -i ./osm_lcm.deb
-
 RUN curl $PYTHON3_N2VC_URL -o osm_n2vc.deb
 RUN dpkg -i ./osm_n2vc.deb
 
+RUN curl $PYTHON3_OSM_LCM_URL -o osm_lcm.deb
+RUN dpkg -i ./osm_lcm.deb
+
 RUN pip3 install \
     -r /usr/lib/python3/dist-packages/osm_common/requirements.txt \
-    -r /usr/lib/python3/dist-packages/osm_lcm/requirements.txt \
-    -r /usr/lib/python3/dist-packages/n2vc/requirements.txt
+    -r /usr/lib/python3/dist-packages/n2vc/requirements.txt \
+    -r /usr/lib/python3/dist-packages/osm_lcm/requirements.txt
 
 #######################################################################################
 FROM ubuntu:22.04 as FINAL