# 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 ..
&& 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
name=_name,
description='OSM North Bound Interface',
long_description=README,
- version_command=('git describe --tags --long --dirty --match v*', 'pep440-git'),
+ version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
# version=VERSION,
# python_requires='>3.5.0',
author='ETSI OSM',