Pavlo Shchelokovskyy | 052c90e | 2020-05-14 14:45:28 +0300 | [diff] [blame] | 1 | #Dockerfile of branch mcp/ussuri |
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 \ |
Maksym Shalamov | b5c6d27 | 2020-12-08 19:41:58 +0200 | [diff] [blame] | 18 | ffmpeg \ |
aminasyan | 6b77739 | 2019-11-08 11:59:37 +0400 | [diff] [blame] | 19 | xvfb \ |
aminasyan | 6b77739 | 2019-11-08 11:59:37 +0400 | [diff] [blame] | 20 | wget \ |
| 21 | git \ |
| 22 | x11-xkb-utils |
| 23 | |
Artem Minasyan | 59054f8 | 2020-03-24 13:38:09 +0400 | [diff] [blame] | 24 | ENV SELENIUM_HEADLESS=1 |
Maksym Shalamov | b5c6d27 | 2020-12-08 19:41:58 +0200 | [diff] [blame] | 25 | ENV FFMPEG_INSTALLED=True |
aminasyan | 6b77739 | 2019-11-08 11:59:37 +0400 | [diff] [blame] | 26 | |
| 27 | RUN wget https://artifactory.mcp.mirantis.net/artifactory/binary-dev-local/tarballs/geckodriver-v0.24.0-linux64.tar.gz |
| 28 | RUN tar xvzf geckodriver-v0.24.0-linux64.tar.gz && \ |
| 29 | chmod +x geckodriver && \ |
| 30 | sudo cp geckodriver /usr/local/bin/ |
| 31 | |
| 32 | WORKDIR /opt/horizon |
| 33 | |
Artem Minasyan | 59054f8 | 2020-03-24 13:38:09 +0400 | [diff] [blame] | 34 | RUN pip3 install -r requirements.txt -r test-requirements.txt -c requirements/upper-constraints.txt |