blob: bbe88af353da8b46f6df966aa2b4666ebd340767 [file] [log] [blame]
Pavlo Shchelokovskyy052c90e2020-05-14 14:45:28 +03001#Dockerfile of branch mcp/ussuri
aminasyan6b777392019-11-08 11:59:37 +04002ARG FROM=ubuntu:bionic
3FROM $FROM
4
5
6COPY horizon/ opt/horizon
7RUN apt-get update && apt-get install -y \
8 python3 \
aminasyan6b777392019-11-08 11:59:37 +04009 python3-dev \
10 build-essential \
11 libssl-dev \
12 libffi-dev \
13 libxml2-dev \
14 libxslt1-dev \
15 zlib1g-dev \
aminasyan687a8012020-01-10 11:56:26 +040016 python3-pip \
aminasyan6b777392019-11-08 11:59:37 +040017 firefox \
Maksym Shalamovb5c6d272020-12-08 19:41:58 +020018 ffmpeg \
aminasyan6b777392019-11-08 11:59:37 +040019 xvfb \
aminasyan6b777392019-11-08 11:59:37 +040020 wget \
21 git \
22 x11-xkb-utils
23
Artem Minasyan59054f82020-03-24 13:38:09 +040024ENV SELENIUM_HEADLESS=1
Maksym Shalamovb5c6d272020-12-08 19:41:58 +020025ENV FFMPEG_INSTALLED=True
aminasyan6b777392019-11-08 11:59:37 +040026
27RUN wget https://artifactory.mcp.mirantis.net/artifactory/binary-dev-local/tarballs/geckodriver-v0.24.0-linux64.tar.gz
28RUN tar xvzf geckodriver-v0.24.0-linux64.tar.gz && \
29 chmod +x geckodriver && \
30 sudo cp geckodriver /usr/local/bin/
31
32WORKDIR /opt/horizon
33
Artem Minasyan59054f82020-03-24 13:38:09 +040034RUN pip3 install -r requirements.txt -r test-requirements.txt -c requirements/upper-constraints.txt