blob: c4a3363ae3ad6db2d05214acc5162b803dc407d9 [file] [log] [blame]
aminasyanca523522019-11-08 11:45:17 +04001ARG FROM=ubuntu:bionic
2FROM $FROM
3
4
5COPY horizon/ opt/horizon
6RUN apt-get update && apt-get install -y \
7 python3 \
8 python-dev \
9 python3-dev \
10 build-essential \
11 libssl-dev \
12 libffi-dev \
13 libxml2-dev \
14 libxslt1-dev \
15 zlib1g-dev \
16 python-pip \
17 firefox \
18 xvfb \
19 tox \
20 wget \
21 git \
22 x11-xkb-utils
23
24ENV DISPLAY=1
25
26RUN wget https://artifactory.mcp.mirantis.net/artifactory/binary-dev-local/tarballs/geckodriver-v0.24.0-linux64.tar.gz
27RUN tar xvzf geckodriver-v0.24.0-linux64.tar.gz && \
28 chmod +x geckodriver && \
29 sudo cp geckodriver /usr/local/bin/
30
31WORKDIR /opt/horizon
32
33RUN pip install -r requirements.txt && \
34 pip install -r test-requirements.txt