Skip to content

Commit 755a459

Browse files
Universal: Remove python2 installation (#271)
1 parent 31ee293 commit 755a459

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/universal/.devcontainer/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,7 @@ RUN LANG="C.UTF-8" \
6060
&& apt-get update \
6161
&& apt-get upgrade -y \
6262
&& add-apt-repository universe \
63-
&& apt-get install -y --no-install-recommends python2 \
64-
&& rm -rf /var/lib/apt/lists/* \
65-
# 'get-pip.py' has been moved to ' https://bootstrap.pypa.io/pip/2.7/get-pip.py' from 'https://bootstrap.pypa.io/2.7/get-pip.py'
66-
&& curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \
67-
&& python2 get-pip.py \
68-
&& pip install pip --upgrade \
69-
&& pip3 install pip --upgrade
63+
&& rm -rf /var/lib/apt/lists/*
7064

7165
# Verify expected build and debug tools are present
7266
RUN apt-get update \

src/universal/.devcontainer/devcontainer.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,6 @@
123123
"path": "/opt/conda/bin/python",
124124
"type": "pythonEnvironment"
125125
},
126-
{
127-
"path": "/bin/python2",
128-
"type": "pythonEnvironment"
129-
},
130-
{
131-
"path": "/usr/bin/python2",
132-
"type": "pythonEnvironment"
133-
},
134126
{
135127
"path": "/usr/local/python/current/bin/python3",
136128
"type": "pythonEnvironment"

0 commit comments

Comments
 (0)