Skip to content
Snippets Groups Projects
Commit 384bef38 authored by Erick Hitter's avatar Erick Hitter
Browse files

Switch to Python 3

Python 2 is EOL in a few days.
parent 67747750
No related branches found
No related tags found
1 merge request!1MVP
Pipeline #1829 passed
...@@ -6,12 +6,13 @@ LABEL version="1.0" ...@@ -6,12 +6,13 @@ LABEL version="1.0"
RUN echo "deb http://security.debian.org/ buster/updates main" >> /etc/apt/sources.list RUN echo "deb http://security.debian.org/ buster/updates main" >> /etc/apt/sources.list
RUN apt-get update \ RUN apt-get update \
&& apt-get -y --no-install-recommends install python-pip \ && apt-get -y --no-install-recommends install \
&& pip install setuptools \ python3 python3-pip \
&& pip install s3cmd \ && pip3 install setuptools \
&& pip3 install s3cmd \
&& s3cmd --version \ && s3cmd --version \
&& pip uninstall -y setuptools \ && pip3 uninstall -y setuptools \
&& apt-get remove -y python-pip \ && apt-get remove -y python3-pip \
&& apt-get autoremove -y \ && apt-get autoremove -y \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment