|
29 | 29 |
|
30 | 30 | FROM python:2.7 as python27 |
31 | 31 | RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy |
32 | | -RUN PYTHONUSERBASE=/dbgpy/pydevd/python2.7 pip install --user pydevd --no-warn-script-location |
33 | | -COPY pydevd.patch . |
| 32 | +RUN PYTHONUSERBASE=/dbgpy/pydevd/python2.7 pip install --user pydevd==2.8.0 --no-warn-script-location |
| 33 | +COPY pydevd_2_8_0.patch ./pydevd.patch |
34 | 34 | RUN patch -p0 -d /dbgpy/pydevd/python2.7/lib/python2.7/site-packages < pydevd.patch |
35 | 35 | RUN PYTHONUSERBASE=/dbgpy/pydevd-pycharm/python2.7 pip install --user pydevd-pycharm --no-warn-script-location |
36 | 36 |
|
37 | 37 | FROM python:3.5 as python35 |
38 | 38 | RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy |
39 | | -RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.5 pip install --user pydevd --no-warn-script-location |
40 | | -COPY pydevd.patch . |
| 39 | +RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.5 pip install --user pydevd==2.8.0 --no-warn-script-location |
| 40 | +COPY pydevd_2_8_0.patch ./pydevd.patch |
41 | 41 | RUN patch -p0 -d /dbgpy/pydevd/python3.5/lib/python3.5/site-packages < pydevd.patch |
42 | 42 | RUN PYTHONUSERBASE=/dbgpy/pydevd-pycharm/python3.5 pip install --user pydevd-pycharm --no-warn-script-location |
43 | 43 |
|
44 | 44 | FROM python:3.6 as python36 |
45 | 45 | RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy |
46 | | -RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.6 pip install --user pydevd --no-warn-script-location |
47 | | -COPY pydevd.patch . |
48 | | -RUN patch -p0 -d /dbgpy/pydevd/python3.6/lib/python3.6/site-packages < pydevd.patch |
| 46 | +RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.6 pip install --user pydevd==2.9.5 --no-warn-script-location |
| 47 | +COPY pydevd_2_9_5.patch ./pydevd.patch |
| 48 | +RUN patch --binary -p0 -d /dbgpy/pydevd/python3.6/lib/python3.6/site-packages < pydevd.patch |
49 | 49 | RUN PYTHONUSERBASE=/dbgpy/pydevd-pycharm/python3.6 pip install --user pydevd-pycharm --no-warn-script-location |
50 | 50 |
|
51 | 51 | FROM python:3.7 as python37 |
52 | 52 | RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy |
53 | | -RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.7 pip install --user pydevd --no-warn-script-location |
54 | | -COPY pydevd.patch . |
55 | | -RUN patch -p0 -d /dbgpy/pydevd/python3.7/lib/python3.7/site-packages < pydevd.patch |
| 53 | +RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.7 pip install --user pydevd==2.9.5 --no-warn-script-location |
| 54 | +COPY pydevd_2_9_5.patch ./pydevd.patch |
| 55 | +RUN patch --binary -p0 -d /dbgpy/pydevd/python3.7/lib/python3.7/site-packages < pydevd.patch |
56 | 56 | RUN PYTHONUSERBASE=/dbgpy/pydevd-pycharm/python3.7 pip install --user pydevd-pycharm --no-warn-script-location |
57 | 57 |
|
58 | 58 | FROM python:3.8 as python38 |
59 | 59 | RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy |
60 | | -RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.8 pip install --user pydevd --no-warn-script-location |
61 | | -COPY pydevd.patch . |
62 | | -RUN patch -p0 -d /dbgpy/pydevd/python3.8/lib/python3.8/site-packages < pydevd.patch |
| 60 | +RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.8 pip install --user pydevd==2.9.5 --no-warn-script-location |
| 61 | +COPY pydevd_2_9_5.patch ./pydevd.patch |
| 62 | +RUN patch --binary -p0 -d /dbgpy/pydevd/python3.8/lib/python3.8/site-packages < pydevd.patch |
63 | 63 | RUN PYTHONUSERBASE=/dbgpy/pydevd-pycharm/python3.8 pip install --user pydevd-pycharm --no-warn-script-location |
64 | 64 |
|
65 | 65 | FROM python:3.9 as python39 |
66 | 66 | RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy |
67 | | -RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.9 pip install --user pydevd --no-warn-script-location |
68 | | -COPY pydevd.patch . |
69 | | -RUN patch -p0 -d /dbgpy/pydevd/python3.9/lib/python3.9/site-packages < pydevd.patch |
| 67 | +RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.9 pip install --user pydevd==2.9.5 --no-warn-script-location |
| 68 | +COPY pydevd_2_9_5.patch ./pydevd.patch |
| 69 | +RUN patch --binary -p0 -d /dbgpy/pydevd/python3.9/lib/python3.9/site-packages < pydevd.patch |
70 | 70 | RUN PYTHONUSERBASE=/dbgpy/pydevd-pycharm/python3.9 pip install --user pydevd-pycharm --no-warn-script-location |
71 | 71 |
|
72 | 72 | FROM python:3.10 as python3_10 |
73 | 73 | RUN PYTHONUSERBASE=/dbgpy pip install --user ptvsd debugpy |
74 | | -RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.10 pip install --user pydevd --no-warn-script-location |
75 | | -COPY pydevd.patch . |
76 | | -RUN patch -p0 -d /dbgpy/pydevd/python3.10/lib/python3.10/site-packages < pydevd.patch |
| 74 | +RUN PYTHONUSERBASE=/dbgpy/pydevd/python3.10 pip install --user pydevd==2.9.5 --no-warn-script-location |
| 75 | +COPY pydevd_2_9_5.patch ./pydevd.patch |
| 76 | +RUN patch --binary -p0 -d /dbgpy/pydevd/python3.10/lib/python3.10/site-packages < pydevd.patch |
77 | 77 | RUN PYTHONUSERBASE=/dbgpy/pydevd-pycharm/python3.10 pip install --user pydevd-pycharm --no-warn-script-location |
78 | 78 |
|
79 | 79 | FROM --platform=$BUILDPLATFORM golang:1.17 as build |
|
0 commit comments