diff --git a/python/3.10/Dockerfile b/python/3.10/Dockerfile new file mode 100644 index 0000000..bcd6830 --- /dev/null +++ b/python/3.10/Dockerfile @@ -0,0 +1,32 @@ +FROM indigodatacloud/ci-images:base-u22 +MAINTAINER Pablo Orviz + +RUN apt-get update \ + && apt-get install --no-install-recommends -y wget \ + git \ + python3.10 \ + build-essential \ + libcurl4-gnutls-dev \ + libffi-dev \ + libssl-dev \ + libxml2-dev \ + libxslt1-dev \ + libgnutls28-dev \ + default-libmysqlclient-dev libsqlite3-dev \ + curl \ + && rm -rf /var/lib/apt/lists/* + +RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.10 10 +RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 10 + +RUN curl -s -L https://bootstrap.pypa.io/get-pip.py | python +RUN pip install tox flake8 pylint pydocstyle pep8 bandit +# otherwise issues with twine<=1.10.0 +RUN pip install twine==1.11.0 +RUN pip install -U wheel setuptools + +# Standard SSH port +EXPOSE 22 + +# Default command +CMD ["/usr/sbin/sshd", "-D"] diff --git a/python/3.8/Dockerfile b/python/3.8/Dockerfile new file mode 100644 index 0000000..f6e8174 --- /dev/null +++ b/python/3.8/Dockerfile @@ -0,0 +1,32 @@ +FROM indigodatacloud/ci-images:base-u18 +MAINTAINER Pablo Orviz + +RUN apt-get update \ + && apt-get install --no-install-recommends -y wget \ + git \ + python3.8 \ + build-essential \ + libcurl4-gnutls-dev \ + libffi-dev \ + libssl-dev \ + libxml2-dev \ + libxslt1-dev \ + libgnutls28-dev \ + default-libmysqlclient-dev libsqlite3-dev \ + curl \ + && rm -rf /var/lib/apt/lists/* + +RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 10 +RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 10 + +RUN curl -s -L https://bootstrap.pypa.io/get-pip.py | python +RUN pip install tox flake8 pylint pydocstyle pep8 bandit +# otherwise issues with twine<=1.10.0 +RUN pip install twine==1.11.0 +RUN pip install -U wheel setuptools + +# Standard SSH port +EXPOSE 22 + +# Default command +CMD ["/usr/sbin/sshd", "-D"]