-FROM ubuntu:16.04
+FROM ubuntu:18.04
LABEL rebuild="build1"
&& echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes \
&& echo 'APT::Get::Install-Recommends "false"; APT::Get::Install-Suggests "false";' > /etc/apt/apt.conf.d/docker-recommends \
&& apt-get update \
- && apt-get -yy upgrade \
- && apt-get install -y git python-dev python-virtualenv \
- && apt-get -y install python-pip && pip install -U "pip<21"
+ && apt-get -yy upgrade
+RUN apt-get install -y git python-dev python-virtualenv software-properties-common build-essential libpq-dev libssl-dev openssl libssl-dev libffi-dev zlib1g-dev
+RUN apt-get install -y python3.7
WORKDIR /root
-RUN virtualenv report-venv \
+RUN virtualenv --python=python3.7 report-venv \
&& source report-venv/bin/activate \
- && pip install -U "pip<21" \
- && pip install -U "setuptools<45.0.0" six "Jinja2==2.11.3" "prettytable==1.0.1" "pytest-runner==5.2"
-
-RUN source report-venv/bin/activate \
&& git clone https://github.com/dis-xcom/testrail_reporter.git \
- && cd testrail_reporter \
- && git checkout v0.7.3 \
+ && cd testrail_reporter \
&& python setup.py install
-
-COPY run_report.sh /root/run_report.sh
-
-CMD /bin/bash /root/run_report.sh
+#
+#COPY run_report.sh /root/run_report.sh
+#
+#CMD /bin/bash /root/run_report.sh