Update dockerfile to run on Ubuntu 18.04
diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..f9734fe
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,5 @@
+.git
+.cache
+.ipynb_checkpoints
+.mypy_cache
+Docs
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index bc44048..124e620 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,15 +1,14 @@
 # docker build -t ubuntu1604py36
-FROM ubuntu:16.04
+FROM ubuntu:18.04
 
-MAINTAINER Kostiantyn Danylov <koder.mail@gmail.com>
+LABEL maintainer="Kostiantyn Danylov <kdanilov@mirantis.com>" version="2.0"
 
 RUN apt-get update && \
-    apt-get install -y software-properties-common && \
-    add-apt-repository ppa:jonathonf/python-3.6 && \
-    apt-get update &&  \
-    apt-get install -y vim git build-essential python3.6 python3.6-dev python3-pip python3.6-venv python3.6-tk curl wget
+    DEBIAN_FRONTEND=noninteractive apt upgrade -yq && \
+    DEBIAN_FRONTEND=noninteractive apt-get install -yq vim git tmux build-essential \
+        python3 python3-dev python3-pip python3-venv python3-tk
 
-COPY . /opt/disk_perf_tool
+COPY . /opt/wally
 
 # git clone https://github.com/Mirantis/disk_perf_test_tool.git /opt/disk_perf_tool && \
 # git checkout v2.0 && \
@@ -17,12 +16,13 @@
 RUN git clone https://github.com/koder-ua/cephlib.git /opt/cephlib && \
     git clone https://github.com/koder-ua/xmlbuilder3.git /opt/xmlbuilder3 && \
     git clone https://github.com/koder-ua/agent.git /opt/agent && \
-    mkdir /opt/wally_libs && \
-    ln -s /opt/agent/agent /opt/wally_libs && \
-    ln -s /opt/xmlbuilder3/xmlbuilder3 /opt/wally_libs && \
-    ln -s /opt/cephlib/cephlib /opt/wally_libs
+    python3.6 -m pip install pip --upgrade && \
+    cd /opt/wally && \
+    python3.6 -m pip install wheel && \
+    python3.6 -m pip install -r requirements.txt && \
+    ln -s scripts/wally /usr/bin && \
+    chmod a+x /opt/wally/scripts/wally
 
-RUN python3.6 -m pip install pip --upgrade
-RUN cd /opt/disk_perf_tool &&  python3.6 -m pip install wheel && python3.6 -m pip install -r requirements.txt
+ENV PYTHONPATH /opt/cephlib:/opt/xmlbuilder3:/opt/agent:/opt/wally
 
-CMD /bin/bash
+CMD ["/bin/bash"]
diff --git a/requirements.txt b/requirements.txt
index 74d28c4..d6adebf 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,26 +1,27 @@
 decorator
+ecdsa
 futures
+ipython
+iso8601
+matplotlib
 netaddr
+numpy
+oktest
 paramiko
 petname
 prest
 prettytable
+psutil
+psutil
+pycrypto
+pytest
+python-cinderclient
+python-glanceclient
+python-keystoneclient
+python-novaclient
 PyYAML
 requests
-simplejson
-pycrypto
-ecdsa
-psutil
-python-novaclient
-python-cinderclient
-python-keystoneclient
-python-glanceclient
-oktest
-iso8601
 scipy
-numpy
-matplotlib
-psutil
 seaborn
-pytest
-statsmodels
+simplejson
+statsmodels
\ No newline at end of file
diff --git a/scripts/wally b/scripts/wally
new file mode 100644
index 0000000..d793d37
--- /dev/null
+++ b/scripts/wally
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+python3.6 -m wally "$@"
diff --git a/wally/suits/io/rrd.cfg b/wally/suits/io/rrd.cfg
index b013796..98707c6 100644
--- a/wally/suits/io/rrd.cfg
+++ b/wally/suits/io/rrd.cfg
@@ -1,12 +1,27 @@
 [global]
 include defaults_qd.cfg
-ramp_time=0
-runtime={RUNTIME}
+ramp_time=15
+runtime=180
 
-[test_{TEST_SUMM}]
-blocksize=60k
-rw=randread
-iodepth=1
+[test_swd_4]
+blocksize=16m
+rw=write
+iodepth=4
+
+[test_swd_8]
+blocksize=16m
+rw=write
+iodepth=8
+
+[test_srd_4]
+blocksize=16m
+rw=read
+iodepth=4
+
+[test_srd_8]
+blocksize=16m
+rw=read
+iodepth=8
 
 #[test_{TEST_SUMM}]
 #iodepth=16