From 3b2e3ff8a0f8ec6b69f2f0bb1cb46e5cd6a66050 Mon Sep 17 00:00:00 2001 From: bit4bit Date: Fri, 5 Nov 2021 02:34:57 +0000 Subject: [PATCH] se adiciona archivo faltante FossilOrigin-Name: 9b5286528fbefb452e42cf375031ad4037220fc5643bfb0dd9b1106d37544789 --- Dockerfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..624f79d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,30 @@ +# DERIVADO DE https://alextereshenkov.github.io/run-python-tests-with-tox-in-docker.html +FROM ubuntu:18.04 + +RUN apt-get -qq update +RUN apt-get install -y --no-install-recommends \ + python3.7 python3.7-distutils python3.7-dev \ + python3.8 python3.8-distutils python3.8-dev \ + wget \ + ca-certificates + +RUN wget https://bootstrap.pypa.io/get-pip.py \ + && python3 get-pip.py pip==21.3 \ + && python3.7 get-pip.py pip==21.3 \ + && python3.8 get-pip.py pip==21.3 \ + && rm get-pip.py + +RUN apt-get install -y --no-install-recommends \ + libxml2-dev \ + libxmlsec1-dev \ + build-essential + +RUN python3.6 --version +RUN python3.7 --version +RUN python3.8 --version + +RUN pip3.6 install setuptools setuptools-rust +RUN pip3.7 install setuptools setuptools-rust +RUN pip3.8 install setuptools setuptools-rust + +RUN pip3 install tox pytest