blob: 93b79b7af74f5744f93d846b765656663088de36 [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 \
18 xvfb \
aminasyan6b777392019-11-08 11:59:37 +040019 wget \
20 git \
21 x11-xkb-utils
22
Artem Minasyan59054f82020-03-24 13:38:09 +040023ENV SELENIUM_HEADLESS=1
aminasyan6b777392019-11-08 11:59:37 +040024
25RUN wget https://artifactory.mcp.mirantis.net/artifactory/binary-dev-local/tarballs/geckodriver-v0.24.0-linux64.tar.gz
26RUN tar xvzf geckodriver-v0.24.0-linux64.tar.gz && \
27 chmod +x geckodriver && \
28 sudo cp geckodriver /usr/local/bin/
29
30WORKDIR /opt/horizon
31
Artem Minasyan59054f82020-03-24 13:38:09 +040032RUN pip3 install -r requirements.txt -r test-requirements.txt -c requirements/upper-constraints.txt