From: lavado Date: Wed, 5 Feb 2020 20:14:39 +0000 (-0800) Subject: MON migrating to ubuntu 18.04 X-Git-Tag: release-v8.0-start~62 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F8587%2F1;p=osm%2Fdevops.git MON migrating to ubuntu 18.04 Change-Id: I87f5744d57b7c1accf035c45755a33e25161ebfb Signed-off-by: lavado --- diff --git a/docker/MON/Dockerfile b/docker/MON/Dockerfile index 77aa909f..b6eff1b5 100644 --- a/docker/MON/Dockerfile +++ b/docker/MON/Dockerfile @@ -20,12 +20,12 @@ # contact: bdiaz@whitestack.com or glavado@whitestack.com ## -FROM ubuntu:16.04 +FROM ubuntu:18.04 LABEL authors="Guillermo Calvino" RUN apt-get update \ - && apt-get -y install curl \ + && DEBIAN_FRONTEND=noninteractive apt-get install -y curl \ software-properties-common \ git \ python \ @@ -38,7 +38,7 @@ RUN apt-get update \ mysql-client \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ - && pip3 install pip==9.0.3 + && python3 -m pip install -U pip RUN pip3 install 'macaroonbakery>=1.1,<2.0' 'pyRFC3339>=1.0,<2.0' \ 'pyyaml>=5.1.2' 'theblues>=0.3.8,<1.0' 'websockets>=4.0,<5.0' \ @@ -56,7 +56,7 @@ ARG N2VC_VERSION RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add - \ && add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} MON N2VC common" \ && apt update \ - && apt-get -y install python3-osm-common${COMMON_VERSION} \ + && DEBIAN_FRONTEND=noninteractive apt-get -y install python3-osm-common${COMMON_VERSION} \ python3-osm-mon${MON_VERSION} \ python3-n2vc${N2VC_VERSION}