aminasyan | 6793f50 | 2020-02-26 16:41:38 +0400 | [diff] [blame^] | 1 | #Dockerfile of branch mcp/train |
aminasyan | 6b77739 | 2019-11-08 11:59:37 +0400 | [diff] [blame] | 2 | ARG FROM=ubuntu:bionic |
| 3 | FROM $FROM |
| 4 | |
| 5 | |
| 6 | COPY horizon/ opt/horizon |
| 7 | RUN apt-get update && apt-get install -y \ |
| 8 | python3 \ |
aminasyan | 6b77739 | 2019-11-08 11:59:37 +0400 | [diff] [blame] | 9 | python3-dev \ |
| 10 | build-essential \ |
| 11 | libssl-dev \ |
| 12 | libffi-dev \ |
| 13 | libxml2-dev \ |
| 14 | libxslt1-dev \ |
| 15 | zlib1g-dev \ |
aminasyan | 687a801 | 2020-01-10 11:56:26 +0400 | [diff] [blame] | 16 | python3-pip \ |
aminasyan | 6b77739 | 2019-11-08 11:59:37 +0400 | [diff] [blame] | 17 | firefox \ |
| 18 | xvfb \ |
| 19 | tox \ |
| 20 | wget \ |
| 21 | git \ |
| 22 | x11-xkb-utils |
| 23 | |
| 24 | ENV DISPLAY=1 |
| 25 | |
| 26 | RUN wget https://artifactory.mcp.mirantis.net/artifactory/binary-dev-local/tarballs/geckodriver-v0.24.0-linux64.tar.gz |
| 27 | RUN tar xvzf geckodriver-v0.24.0-linux64.tar.gz && \ |
| 28 | chmod +x geckodriver && \ |
| 29 | sudo cp geckodriver /usr/local/bin/ |
| 30 | |
| 31 | WORKDIR /opt/horizon |
| 32 | |
aminasyan | 687a801 | 2020-01-10 11:56:26 +0400 | [diff] [blame] | 33 | RUN pip3 install -r requirements.txt -r test-requirements.txt |
aminasyan | 6b77739 | 2019-11-08 11:59:37 +0400 | [diff] [blame] | 34 | |