Skip to content

Commit 3e44099

Browse files
author
Googler
committed
fix(components): Replace base image to reduce vulnerabilities
fix(components): Limit google-api-core version to avoid timeout introduced in googleapis/python-api-core#462 PiperOrigin-RevId: 507613610
1 parent 6656996 commit 3e44099

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • components/google-cloud/google_cloud_pipeline_components/container

components/google-cloud/google_cloud_pipeline_components/container/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Base image to use for this docker
16-
FROM gcr.io/google-appengine/python:latest
16+
FROM gcr.io/ml-pipeline/debian-py37:latest
1717

1818
WORKDIR /root
1919

@@ -30,7 +30,7 @@ RUN pip3 install -U google-api-python-client
3030
RUN pip3 install -U "apache_beam[gcp]<2.34.0"
3131

3232
# Required for sklearn/train_test_split_jsonl
33-
RUN pip3 install -U "fsspec>=0.7.4" "gcsfs>=0.6.0" "pandas<=1.3.5" "scikit-learn<=1.0.2"
33+
RUN pip3 install -U "fsspec>=0.7.4" "gcsfs>=0.6.0" "pandas<=1.3.5" "scikit-learn<=1.0.2" "google-api-core<=1.33.2"
3434

3535
# Install main package (switch to using pypi package for official release)
3636
RUN pip3 install "git+https://github.com/kubeflow/pipelines.git#egg=google-cloud-pipeline-components&subdirectory=components/google-cloud"

0 commit comments

Comments
 (0)