Fix Dockerfile.local in v4.0 branch to use common and IM from v4.0
Change-Id: Ia3cf80b9d02ad40c888be79547ddeb223d7191d2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/Dockerfile.local b/Dockerfile.local
index 1ec838a..f3512c9 100644
--- a/Dockerfile.local
+++ b/Dockerfile.local
@@ -16,7 +16,7 @@
# OSM_COMMON
RUN git clone https://osm.etsi.org/gerrit/osm/common.git \
- && cd common && python3 setup.py develop && cd ..
+ && cd common && git checkout v4.0 && python3 setup.py develop && cd ..
# && pip3 install -U -r requirements.txt \
# && cd ..
@@ -25,6 +25,7 @@
&& git clone https://github.com/robshakir/pyangbind \
&& pip3 install -e pyangbind \
&& git clone https://osm.etsi.org/gerrit/osm/IM \
+ && git -C IM checkout v4.0 \
&& cd /app/IM/models/yang \
&& pyang --plugindir /app/pyangbind/pyangbind/plugin -f pybind -o /app/osm_nbi/vnfd_catalog.py vnfd.yang \
&& pyang --plugindir /app/pyangbind/pyangbind/plugin -f pybind -o /app/osm_nbi/nsd_catalog.py nsd.yang