- && pip3 install -U aiokafka pyang lxml six enum34
-
-RUN git clone https://osm.etsi.org/gerrit/osm/N2VC.git \
- && cd N2VC \
- && pip3 install websockets==4.0.1 \
- && pip3 install requests \
- && cd modules/libjuju && python3 setup.py develop && cd ../.. \
- && pip3 install -U -r requirements.txt \
- && python3 setup.py develop \
- && cd ..
-
-RUN git clone https://osm.etsi.org/gerrit/osm/common.git \
- && cd common && python3 setup.py develop && cd ..
-# && pip3 install -U -r requirements.txt \
-# && cd ..
+ && pip3 install -U 'PyYAML==3.*' 'aiohttp==0.20.2' flake8
+
+RUN git -C /app clone https://osm.etsi.org/gerrit/osm/N2VC.git \
+ && git -C /app/N2VC fetch "https://osm.etsi.org/gerrit/osm/N2VC" refs/changes/56/8156/1 \
+ && git -C /app/N2VC checkout FETCH_HEAD \
+ && pip3 install -e /app/N2VC \
+ && pip3 install -e /app/N2VC/modules/libjuju \
+ && apt-get install -y libffi-dev libssl-dev openssh-client
+ # cd N2VC; python3 setup.py develop
+ # cd modules/libjuju; python3 setup.py develop
+
+RUN git -C /app clone https://osm.etsi.org/gerrit/osm/common.git \
+ && pip3 install -e /app/common
+ # python3-pymongo python3-yaml pycrypto aiokafka