diff --git a/testing/examples/run_instruction_arbitrary/BUILD b/testing/examples/run_instruction_arbitrary/BUILD index 6bd17fe22..a99aca3d6 100644 --- a/testing/examples/run_instruction_arbitrary/BUILD +++ b/testing/examples/run_instruction_arbitrary/BUILD @@ -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", ) diff --git a/testing/examples/run_instruction_arbitrary/Dockerfile b/testing/examples/run_instruction_arbitrary/Dockerfile index 5341acb6d..09b9c1e87 100644 --- a/testing/examples/run_instruction_arbitrary/Dockerfile +++ b/testing/examples/run_instruction_arbitrary/Dockerfile @@ -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