X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=Dockerfile.local;h=075c4966a6d843926b8d6bd01256970927f065ec;hb=3ef02756b574db3cbdd9cc80198d1e2dc46c3f85;hp=2f345615b557c29a5e01c07f819aa5ac83e30fa7;hpb=990ac461246c2449534955f8e5c73ecbc295f4dc;p=osm%2FNBI.git diff --git a/Dockerfile.local b/Dockerfile.local index 2f34561..075c496 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -20,14 +20,15 @@ WORKDIR /app/NBI RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections -RUN apt-get update && apt-get install -y git python3 python3-jsonschema \ +RUN apt-get update && apt-get install -y git python3 \ python3-pymongo python3-yaml python3-pip python3-keystoneclient \ && python3 -m pip install pip --upgrade \ - && python3 -m pip install aiokafka aiohttp cherrypy==18.1.2 keystoneauth1 requests \ + && python3 -m pip install aiokafka aiohttp cherrypy==18.1.2 keystoneauth1 requests jsonschema==3.2.0 \ && mkdir -p /app/storage/kafka && mkdir -p /app/log # OSM_COMMON RUN git -C /app clone https://osm.etsi.org/gerrit/osm/common.git \ + && git -C /app/common checkout v8.0 \ && python3 -m pip install -e /app/common # && cd common && python3 setup.py develop && cd .. # && pip3 install -U -r requirements.txt \ @@ -35,7 +36,9 @@ RUN git -C /app clone https://osm.etsi.org/gerrit/osm/common.git \ # OSM_IM RUN git -C /app clone https://osm.etsi.org/gerrit/osm/IM \ + && git -C /app/IM checkout v8.0 \ && python3 -m pip install /app/IM + # ^ option -e does not work for IM EXPOSE 9999