From 384bef381abbb1d267783fe6d6fa864f393fdc35 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sat, 28 Dec 2019 15:42:30 -0800
Subject: [PATCH] Switch to Python 3

Python 2 is EOL in a few days.
---
 context/Dockerfile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/context/Dockerfile b/context/Dockerfile
index bc8c700..c969c9d 100644
--- a/context/Dockerfile
+++ b/context/Dockerfile
@@ -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/*
-- 
GitLab