Skip to content

Commit

Permalink
Switch arbitrary run instruction to python3 (bazelbuild#1522)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1545 authored Jun 2, 2020
1 parent e0dee78 commit 3c08b5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions testing/examples/run_instruction_arbitrary/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ container_run_and_commit(
# Install kubernetes as a component of gcloud
"/google-cloud-sdk/bin/gcloud components install --quiet kubectl",
"apt-get update",
"apt-get install -y --no-install-recommends python-pip",
"apt-get install -y --no-install-recommends python3-pip",
"apt-get clean",
"python -m pip install --upgrade pip setuptools wheel",
"python3 -m pip install --upgrade pip setuptools wheel",
],
image = ":gcloud_installer.tar",
)
Expand Down
5 changes: 2 additions & 3 deletions testing/examples/run_instruction_arbitrary/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ RUN wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/google-cloud-sdk/bin

# Install python tools
RUN apt-get update && apt-get install -y --no-install-recommends \
python-pip \
RUN apt-get update && apt-get install -y --no-install-recommends python3-pip \
&& apt-get clean \
&& python -m pip install --upgrade pip setuptools wheel
&& python3 -m pip install --upgrade pip setuptools wheel

0 comments on commit 3c08b5f

Please sign in to comment.