From c196383e0bd5d6cf2d703822f488e4b107ee83a6 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 12 Dec 2019 16:58:24 +0100 Subject: [PATCH] LCM/Dockerfile: 18.04 base image Change-Id: I07a86d6ae1d8ae2e74a9e3518c4b9a3b1c7cda6c Signed-off-by: garciadeblas --- docker/LCM/Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docker/LCM/Dockerfile b/docker/LCM/Dockerfile index f141f92e..e7a86cb8 100644 --- a/docker/LCM/Dockerfile +++ b/docker/LCM/Dockerfile @@ -18,7 +18,7 @@ # This creates som/LCM docker from from last stable package -FROM ubuntu:16.04 +FROM ubuntu:18.04 # Set the working directory to /app WORKDIR /app/osm_lcm @@ -40,11 +40,11 @@ APT::AutoRemove::SuggestsImportant "false";\n'\ RUN apt-get update && apt-get -y install curl software-properties-common RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git make python3 \ - python3-pip python3-pymongo python3-aiohttp \ + gpg-agent python3-pip python3-pymongo python3-aiohttp \ python3-all python3-setuptools openssh-client libffi-dev libssl-dev \ python3-bitarray python3-regex python3-lxml dh-python wget tox \ python3-cffi \ - && python3 -m pip install pip --upgrade \ + && python3 -m pip install -U pip \ && python3 -m pip install -U aiokafka lxml six enum34 \ && python3 -m pip install requests \ && python3 -m pip install -U juju \ @@ -55,8 +55,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git make # && cd modules/libjuju && python3 setup.py develop && cd ../.. \ # && python3 -m pip install -U -r requirements.txt -RUN apt-get update && apt-get install -y curl xz-utils \ - && apt-get update && apt-get install -y apt-transport-https \ +RUN apt-get update && apt-get install -y curl xz-utils apt-transport-https \ && curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \ && echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list \ && apt-get update && apt-get install -y kubectl @@ -71,7 +70,7 @@ RUN curl -L https://launchpad.net/juju/2.7/2.7.0/+download/juju-2.7.0-k8s.tar.xz && mv juju /usr/local/bin/juju ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian -ARG RELEASE=ReleaseFOUR-daily +ARG RELEASE=ReleaseSEVEN-daily ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg ARG REPOSITORY=testing -- 2.25.1