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 with stages
in 2 minutes and 34 seconds
......@@ -6,12 +6,13 @@ LABEL version="1.0"
RUN echo "deb http://security.debian.org/ buster/updates main" >> /etc/apt/sources.list
RUN apt-get update \
&& apt-get -y --no-install-recommends install python-pip \
&& pip install setuptools \
&& pip install s3cmd \
&& apt-get -y --no-install-recommends install \
python3 python3-pip \
&& pip3 install setuptools \
&& pip3 install s3cmd \
&& s3cmd --version \
&& pip uninstall -y setuptools \
&& apt-get remove -y python-pip \
&& pip3 uninstall -y setuptools \
&& apt-get remove -y python3-pip \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment