Oleg Basov | 4c63f8e | 2019-02-05 15:41:24 +0100 | [diff] [blame^] | 1 | FROM perfoma/shaker:1.2.0 |
| 2 | |
| 3 | LABEL maintainer="Oleg Basov <obasov@mirantis.com>" version="1.0" |
| 4 | |
| 5 | RUN apt-get update && \ |
| 6 | DEBIAN_FRONTEND=noninteractive apt upgrade -yq && \ |
| 7 | DEBIAN_FRONTEND=noninteractive apt install -yq sudo qemu-utils kpartx sudo squashfs-tools \ |
| 8 | python3 python3-dev python3-pip python3-venv python3-tk wget |
| 9 | |
| 10 | #COPY . /opt/shaker |
| 11 | |
| 12 | # git clone https://github.com/Mirantis/disk_perf_test_tool.git /opt/disk_perf_tool |
| 13 | |
| 14 | #RUN git clone https://github.com/koder-ua/cephlib.git /opt/cephlib && \ |
| 15 | # git clone https://github.com/koder-ua/xmlbuilder3.git /opt/xmlbuilder3 && \ |
| 16 | # git clone https://github.com/koder-ua/agent.git /opt/agent && \ |
| 17 | # python3.6 -m pip install pip --upgrade && \ |
| 18 | # cd /opt/wally && \ |
| 19 | # python3.6 -m pip install wheel && \ |
| 20 | # python3.6 -m pip install -r requirements.txt && \ |
| 21 | # python3.6 -m pip install -U cryptography && \ |
| 22 | # ln -s /opt/wally/scripts/shaker /usr/bin && \ |
| 23 | # chmod a+x /opt/wally/scripts/wally |
| 24 | |
| 25 | #RUN apt purge -y python3-dev build-essential && apt -y autoremove |
| 26 | |
| 27 | #ENV PYTHONPATH /opt/cephlib:/opt/xmlbuilder3:/opt/agent:/opt/ |
| 28 | |
| 29 | CMD ["/bin/bash"] |