blob: efb07ee08c81ca19cb7a738d34d6242e4f2516bb [file] [log] [blame]
aminasyan6793f502020-02-26 16:41:38 +04001#Dockerfile of branch mcp/train
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 \
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
aminasyan687a8012020-01-10 11:56:26 +040033RUN pip3 install -r requirements.txt -r test-requirements.txt
aminasyan6b777392019-11-08 11:59:37 +040034