File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
docker :
15
15
image : gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16
- digest : sha256:52210e0e0559f5ea8c52be148b33504022e1faef4e95fbe4b32d68022af2fa7e
17
- # created: 2024-07-08T19:25:35.862283192Z
16
+ digest : sha256:94bb690db96e6242b2567a4860a94d48fa48696d092e51b0884a1a2c0a79a407
17
+ # created: 2024-07-31T14:52:44.926548819Z
Original file line number Diff line number Diff line change @@ -72,19 +72,18 @@ RUN tar -xvf Python-3.10.14.tgz
72
72
RUN ./Python-3.10.14/configure --enable-optimizations
73
73
RUN make altinstall
74
74
75
- RUN python3.10 -m venv /venv
76
- ENV PATH /venv/bin:$PATH
75
+ ENV PATH /usr/local/bin/python3.10:$PATH
77
76
78
77
# ##################### Install pip
79
78
RUN wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
80
- && python3 /tmp/get-pip.py \
79
+ && python3.10 /tmp/get-pip.py \
81
80
&& rm /tmp/get-pip.py
82
81
83
82
# Test pip
84
- RUN python3 -m pip
83
+ RUN python3.10 -m pip
85
84
86
85
# Install build requirements
87
86
COPY requirements.txt /requirements.txt
88
- RUN python3 -m pip install --require-hashes -r requirements.txt
87
+ RUN python3.10 -m pip install --require-hashes -r requirements.txt
89
88
90
89
CMD ["python3.10" ]
You can’t perform that action at this time.
0 commit comments