From ed502b16e1ad9ffbfed1a406634a40f2a76db0fd Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 1 Apr 2020 17:08:43 +0000 Subject: [PATCH] Enhance Dockerfile-local cache Change-Id: Ifc703060ce6eda9dcb27869c67a6ecb72bd7f146 Signed-off-by: tierno --- Dockerfile-local | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile-local b/Dockerfile-local index 725b2d8d..3e84512d 100644 --- a/Dockerfile-local +++ b/Dockerfile-local @@ -27,19 +27,17 @@ RUN apt-get update && apt-get install -y git python3 python3-pip \ # This is not needed, because package dependency will install anyway. # But done here in order to harry up image generation using cache RUN DEBIAN_FRONTEND=noninteractive apt-get -y install python3-neutronclient python3-openstackclient \ - python3-requests python3-netaddr python3-argcomplete + python3-requests python3-netaddr python3-argcomplete \ + && DEBIAN_FRONTEND=noninteractive python3 -m pip install -U jsonrpclib-pelix cvprac \ + "osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im" azure boto "fog05rest>=0.0.4" \ + untangle pyone "oca @ git+https://github.com/python-oca/python-oca#egg=oca" # DEBIAN_FRONTEND=noninteractive apt-get -y install python-openstacksdk python-openstackclient && \ # TODO py3 DEBIAN_FRONTEND=noninteractive add-apt-repository -y cloud-archive:rocky && apt-get update && apt-get install -y python3-networking-l2gw \ # DEBIAN_FRONTEND=noninteractive apt-get -y install python-cffi libssl-dev libffi-dev python-mysqldb && \ -# DEBIAN_FRONTEND=noninteractive pip2 install -U azure && \ -# DEBIAN_FRONTEND=noninteractive pip2 install -U fog05rest && \ # && DEBIAN_FRONTEND=noninteractive apt-get -y install software-properties-common && \ # DEBIAN_FRONTEND=noninteractive apt-get -y install wget tox && \ -# DEBIAN_FRONTEND=noninteractive pip2 install untangle && \ -# DEBIAN_FRONTEND=noninteractive pip2 install pyone && \ -# DEBIAN_FRONTEND=noninteractive pip2 install -e git+https://github.com/python-oca/python-oca#egg=oca && \ COPY . /root/RO -- 2.25.1