| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 50936ce commit d815dcd
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,17 @@ | |||
| 1 | + # Copyright 2022 Google LLC | ||
| 2 | + # | ||
| 3 | + # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 4 | + # you may not use this file except in compliance with the License. | ||
| 5 | + # You may obtain a copy of the License at | ||
| 6 | + # | ||
| 7 | + # http://www.apache.org/licenses/LICENSE-2.0 | ||
| 8 | + # | ||
| 9 | + # Unless required by applicable law or agreed to in writing, software | ||
| 10 | + # distributed under the License is distributed on an "AS IS" BASIS, | ||
| 11 | + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 12 | + # See the License for the specific language governing permissions and | ||
| 13 | + # limitations under the License. | ||
| 1 | 14 | docker: | |
| 2 | 15 | image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest | |
| 3 | - digest: sha256:ae600f36b6bc972b368367b6f83a1d91ec2c82a4a116b383d67d547c56fe6de3 | ||
| 16 | + digest: sha256:bc5eed3804aec2f05fad42aacf973821d9500c174015341f721a984a0825b6fd | ||
| 17 | + # created: 2022-04-21T15:43:16.246106921Z | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ | |||
| 12 | 12 | # See the License for the specific language governing permissions and | |
| 13 | 13 | # limitations under the License. | |
| 14 | 14 | ||
| 15 | - from ubuntu:20.04 | ||
| 15 | + from ubuntu:22.04 | ||
| 16 | 16 | ||
| 17 | 17 | ENV DEBIAN_FRONTEND noninteractive | |
| 18 | 18 | ||
@@ -60,8 +60,24 @@ RUN apt-get update \ | |||
| 60 | 60 | && rm -rf /var/lib/apt/lists/* \ | |
| 61 | 61 | && rm -f /var/cache/apt/archives/*.deb | |
| 62 | 62 | ||
| 63 | + ###################### Install python 3.8.11 | ||
| 64 | + | ||
| 65 | + # Download python 3.8.11 | ||
| 66 | + RUN wget https://www.python.org/ftp/python/3.8.11/Python-3.8.11.tgz | ||
| 67 | + | ||
| 68 | + # Extract files | ||
| 69 | + RUN tar -xvf Python-3.8.11.tgz | ||
| 70 | + | ||
| 71 | + # Install python 3.8.11 | ||
| 72 | + RUN ./Python-3.8.11/configure --enable-optimizations | ||
| 73 | + RUN make altinstall | ||
| 74 | + | ||
| 75 | + ###################### Install pip | ||
| 63 | 76 | RUN wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \ | |
| 64 | - && python3.8 /tmp/get-pip.py \ | ||
| 77 | + && python3 /tmp/get-pip.py \ | ||
| 65 | 78 | && rm /tmp/get-pip.py | |
| 66 | 79 | ||
| 80 | + # Test pip | ||
| 81 | + RUN python3 -m pip | ||
| 82 | + | ||
| 67 | 83 | CMD ["python3.8"] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments