X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2FNBI%2FDockerfile;h=c8ac78f838fc2c1ac67ff80013e1afc255d87110;hb=refs%2Fchanges%2F55%2F10455%2F1;hp=e5bca0fff8bfa2c5a8a596330fda5d474201070a;hpb=6859ba91b36d07fc77afcb148fdad12522cf2acc;p=osm%2Fdevops.git diff --git a/docker/NBI/Dockerfile b/docker/NBI/Dockerfile index e5bca0ff..c8ac78f8 100644 --- a/docker/NBI/Dockerfile +++ b/docker/NBI/Dockerfile @@ -18,18 +18,28 @@ # This creates osm/NBI docker from local NBI source code -FROM ubuntu:16.04 +FROM ubuntu:18.04 -RUN apt-get update && apt-get -y install curl software-properties-common +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install curl software-properties-common -RUN apt-get update && apt-get install -y git python3 python3-jsonschema \ - python3-pymongo python3-yaml python3-pip python3-keystoneclient \ - && pip3 install -U pip \ - && python3 -m pip install aiokafka aiohttp cherrypy==18.1.2 pyangbind keystoneauth1 \ +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git python3 python3-dev python3-pip + +RUN python3 -m pip install --upgrade pip + +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y rustc cargo + +RUN python3 --version && python3 -m pip --version + +RUN rustc --version && cargo --version + +RUN python3 -m pip install --upgrade setuptools setuptools-rust + +RUN python3 -m pip install --upgrade aiokafka dataclasses python-keystoneclient pymongo jsonschema \ + aiohttp cherrypy==18.1.2 pyangbind keystoneauth1 \ && mkdir -p /app/storage/kafka && mkdir -p /app/log ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian -ARG RELEASE=ReleaseFOUR-daily +ARG RELEASE=ReleaseNINE-daily ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg ARG REPOSITORY=testing @@ -40,7 +50,7 @@ ARG NBI_VERSION ARG COMMON_VERSION ARG IM_VERSION -RUN apt-get update && apt-get -y install python3-osm-nbi${NBI_VERSION} python3-osm-common${COMMON_VERSION} python3-osm-im${IM_VERSION} +RUN apt-get update &&DEBIAN_FRONTEND=noninteractive apt-get -y install python3-osm-nbi${NBI_VERSION} python3-osm-common${COMMON_VERSION} python3-osm-im${IM_VERSION} # Set the working directory to /app WORKDIR /app/osm_nbi