Skip to content

Commit

Permalink
chore(components): Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Mao <[email protected]>
PiperOrigin-RevId: 700828757
  • Loading branch information
Ze Mao authored and Google Cloud Pipeline Components maintainers committed Nov 28, 2024
1 parent 3727961 commit ca004cc
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions components/google-cloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,11 @@
FROM marketplace.gcr.io/google/ubuntu2404:latest
RUN apt update && apt -y install git python3 \
python3-pip \
python3-venv
python3-setuptools

WORKDIR /root

# Create a virtual environment
RUN python3 -m venv venv

# Activate the virtual environment
ENV PATH="venv/bin:$PATH"

# Python 3.12 removed distutils
RUN pip3 install -U pip setuptools
ENV PIP_BREAK_SYSTEM_PACKAGES=1

# Required by gcp_launcher
# Using google-cloud-aiplatform>=1.21.0 to avoid dataset creatation timeout
Expand Down

0 comments on commit ca004cc

Please sign in to comment.