Skip to content

Commit

Permalink
fix: update dependencies in owlbot python_mono_repo image
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Nov 4, 2024
1 parent e10c8c2 commit c1c8f70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions docker/owlbot/python_mono_repo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,11 @@
# Version 0.2.0

# build from the root of this repo:
# docker build -t gcr.io/repo-automation-bots/owlbot-python -f docker/owlbot/python/Dockerfile .
FROM python:3.10.6-buster
# docker build -t gcr.io/repo-automation-bots/owlbot-python -f docker/owlbot/python_mono_repo/Dockerfile .
FROM gcr.io/cloud-devrel-kokoro-resources/python-base:latest

WORKDIR /

###################### Install python 3.9.13

# Download python 3.9.13
RUN wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tgz

# Extract files
RUN tar -xvf Python-3.9.13.tgz

# Install python 3.9.13
RUN ./Python-3.9.13/configure --enable-optimizations
RUN make altinstall

###################### Install synthtool's requirements.
COPY requirements.txt /synthtool/requirements.txt
RUN pip install --require-hashes -r /synthtool/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion docker/owlbot/python_mono_repo/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
set -e
set -x

python -m synthtool.languages.python_mono_repo
python3 -m synthtool.languages.python_mono_repo

0 comments on commit c1c8f70

Please sign in to comment.