-RUN apt-get update && apt-get install -y git make python3 \
- python3-pip python3-pymongo python3-yaml python3-aiohttp \
- python3-all python3-setuptools \
- python3-bitarray python3-regex python3-lxml dh-python wget tox \
- python3-cffi \
- && pip3 install pip==9.0.3 \
- && pip3 install -U aiokafka pyang lxml six enum34 \
- && pip3 install websockets==4.0.1 \
- && pip3 install requests
-
-RUN pip3 install PyNaCl
-
-RUN git clone https://osm.etsi.org/gerrit/osm/N2VC.git \
- && cd N2VC \
- && git checkout BUILD_v4.0.1_1 \
- && cd modules/libjuju && python3 setup.py develop && cd ../.. \
- && pip3 install -U -r requirements.txt
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git make python3 \
+ gpg-agent python3-pip \
+ python3-all python3-setuptools openssh-client libffi-dev libssl-dev \
+ wget tox python3-cffi \
+ && python3 -m pip install -U pip \
+ && python3 -m pip install -U juju==2.8.4 \
+ && python3 -m pip install -U kubernetes==10.0.1 \
+ && rm -rf /var/lib/apt/lists/*
+
+# RUN git clone https://osm.etsi.org/gerrit/osm/N2VC.git \
+# && cd N2VC \
+# && 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-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
+
+RUN curl https://get.helm.sh/helm-v2.15.2-linux-amd64.tar.gz --output helm-v2.15.2.tar.gz \
+ && tar -zxvf helm-v2.15.2.tar.gz \
+ && mv linux-amd64/helm /usr/local/bin/helm \
+ && rm -r linux-amd64/
+
+RUN curl https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz --output helm-v3.3.4.tar.gz \
+ && tar -zxvf helm-v3.3.4.tar.gz \
+ && mv linux-amd64/helm /usr/local/bin/helm3 \
+ && rm -r linux-amd64/
+
+RUN curl -L https://launchpad.net/juju/2.7/2.7.6/+download/juju-2.7.6-k8s.tar.xz --output juju-2.7.6-k8s.tar.xz \
+ && tar -xvf juju-2.7.6-k8s.tar.xz \
+ && mv juju /usr/local/bin/juju