blob: c011b2293cb2c830974b10b2bb0b53f0d5c60b15 [file] [log] [blame]
aminasyan6b777392019-11-08 11:59:37 +04001ARG FROM=ubuntu:bionic
2FROM $FROM
3
4
5COPY horizon/ opt/horizon
6RUN apt-get update && apt-get install -y \
7 python3 \
aminasyan6b777392019-11-08 11:59:37 +04008 python3-dev \
9 build-essential \
10 libssl-dev \
11 libffi-dev \
12 libxml2-dev \
13 libxslt1-dev \
14 zlib1g-dev \
aminasyan687a8012020-01-10 11:56:26 +040015 python3-pip \
aminasyan6b777392019-11-08 11:59:37 +040016 firefox \
17 xvfb \
18 tox \
19 wget \
20 git \
21 x11-xkb-utils
22
23ENV DISPLAY=1
24
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
aminasyan687a8012020-01-10 11:56:26 +040032RUN pip3 install -r requirements.txt -r test-requirements.txt
aminasyan6b777392019-11-08 11:59:37 +040033