blob: 22e7e3e47886b837826fba6e5320659b7d44c50e [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 \
aminasyan6b777392019-11-08 11:59:37 +040019 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
aminasyan2ecded52020-03-05 17:12:42 +040032RUN pip3 install tox -U -r requirements.txt -r test-requirements.txt
aminasyan6b777392019-11-08 11:59:37 +040033