From 292cad853af5e575d6fc369382c624f4a921059e Mon Sep 17 00:00:00 2001 From: Emmanuel Alejandro Parada Licea Date: Tue, 28 Jan 2025 17:05:46 -0600 Subject: [PATCH 1/2] chore(cloudrun): delete old region tags in run/pubsub/Dockerfile --- run/pubsub/Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/run/pubsub/Dockerfile b/run/pubsub/Dockerfile index 9c2d148e29f4..8750d59d28b8 100644 --- a/run/pubsub/Dockerfile +++ b/run/pubsub/Dockerfile @@ -13,7 +13,6 @@ # limitations under the License. # [START cloudrun_pubsub_dockerfile_python] -# [START cloudrun_pubsub_dockerfile] # Use the official Python image. # https://hub.docker.com/_/python @@ -41,5 +40,4 @@ COPY . ./ # Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling. CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app -# [END cloudrun_pubsub_dockerfile] # [END cloudrun_pubsub_dockerfile_python] From 08cfe889e16381c393243d223f13f5baab5f04ba Mon Sep 17 00:00:00 2001 From: Emmanuel Alejandro Parada Licea Date: Tue, 28 Jan 2025 17:10:41 -0600 Subject: [PATCH 2/2] chore(cloudrun): delete old region tags in run/system_package/Dockerfile --- run/system-package/Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/run/system-package/Dockerfile b/run/system-package/Dockerfile index 443b74dfd469..9abfd65457f0 100644 --- a/run/system-package/Dockerfile +++ b/run/system-package/Dockerfile @@ -20,11 +20,9 @@ FROM python:3.11 ENV PYTHONUNBUFFERED True # [START cloudrun_system_package_ubuntu_dockerfile_python] -# [START cloudrun_system_package_ubuntu] RUN apt-get update -y && apt-get install -y \ graphviz \ && apt-get clean -# [END cloudrun_system_package_ubuntu] # [END cloudrun_system_package_ubuntu_dockerfile_python] # Copy application dependency manifests to the container image.