File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM python:2.7 as python27
2- RUN PYTHONUSERBASE=/ptvsd pip install --user ptvsd
2+ RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy
33
44FROM python:3.7 as python37
5- RUN PYTHONUSERBASE=/ptvsd pip install --user ptvsd
5+ RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy
66
77FROM python:3.8 as python38
8- RUN PYTHONUSERBASE=/ptvsd pip install --user ptvsd
8+ RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy
9+
10+ FROM python:3.9 as python39
11+ RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy
912
1013# Now populate the duct-tape image with the language runtime debugging support files
1114# The debian image is about 95MB bigger
@@ -14,6 +17,7 @@ FROM busybox
1417COPY install.sh /
1518CMD ["/bin/sh" , "/install.sh" ]
1619WORKDIR /duct-tape
17- COPY --from=python27 /ptvsd/ python/
18- COPY --from=python37 /ptvsd/ python/
19- COPY --from=python38 /ptvsd/ python/
20+ COPY --from=python27 /dbgpy/ python/
21+ COPY --from=python37 /dbgpy/ python/
22+ COPY --from=python38 /dbgpy/ python/
23+ COPY --from=python39 /dbgpy/ python/
Original file line number Diff line number Diff line change @@ -3,10 +3,20 @@ schemaVersion: 2.0.0
33fileExistenceTests :
44 - name : ' ptvsd for python 2.7'
55 path : ' /duct-tape/python/lib/python2.7/site-packages/ptvsd/__init__.py'
6+ - name : ' debugpy for python 2.7'
7+ path : ' /duct-tape/python/lib/python2.7/site-packages/debugpy/__init__.py'
68 - name : ' ptvsd for python 3.7'
79 path : ' /duct-tape/python/lib/python3.7/site-packages/ptvsd/__init__.py'
10+ - name : ' debugpy for python 3.7'
11+ path : ' /duct-tape/python/lib/python3.7/site-packages/debugpy/__init__.py'
812 - name : ' ptvsd for python 3.8'
913 path : ' /duct-tape/python/lib/python3.8/site-packages/ptvsd/__init__.py'
14+ - name : ' debugpy for python 3.8'
15+ path : ' /duct-tape/python/lib/python3.8/site-packages/debugpy/__init__.py'
16+ - name : ' ptvsd for python 3.9'
17+ path : ' /duct-tape/python/lib/python3.9/site-packages/ptvsd/__init__.py'
18+ - name : ' debugpy for python 3.9'
19+ path : ' /duct-tape/python/lib/python3.9/site-packages/debugpy/__init__.py'
1020
1121commandTests :
1222 - name : " run with no /dbg should fail"
You can’t perform that action at this time.
0 commit comments