aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile12
1 files changed, 11 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 786538a8..f98a360c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -28,17 +28,27 @@ RUN apt-get update \
python-setuptools \
python-wheel \
python-pip \
+ netbase \
unzip \
x11-utils \
x11-xserver-utils \
xvfb \
xxd \
vim
-
+
+# install python 3 after so it isn't default python version
+RUN apt-get install \
+ --no-install-recommends \
+ --assume-yes \
+ python3.7 \
+ python3.7-dev \
+ python3-pip
RUN pip install robotframework==3.1.2 \
&& python --version
+RUN python3.7 -m pip install virtualenv
+
# Copy the robot code
COPY . /var/opt/ONAP/
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf