Skip to content

Commit f2ddd75

Browse files
chore(cloudrun): migrate region tags for dockerfiles and yaml from run folder - part 2 (#13096)
* chore(cloudrun): migrate region tags in run/pubsub/Dockerfile * chore(cloudrun): migrate region tags in run/system_package/Dockerfile
1 parent 525fd52 commit f2ddd75

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

run/pubsub/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# [START cloudrun_pubsub_dockerfile_python]
1516
# [START cloudrun_pubsub_dockerfile]
16-
# [START run_pubsub_dockerfile]
1717

1818
# Use the official Python image.
1919
# https://hub.docker.com/_/python
@@ -41,5 +41,5 @@ COPY . ./
4141
# Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
4242
CMD exec gunicorn --bind :$PORT --workers 1 --threads 8 --timeout 0 main:app
4343

44-
# [END run_pubsub_dockerfile]
4544
# [END cloudrun_pubsub_dockerfile]
45+
# [END cloudrun_pubsub_dockerfile_python]

run/system-package/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ FROM python:3.11
1919
# Allow statements and log messages to immediately appear in the Cloud Run logs
2020
ENV PYTHONUNBUFFERED True
2121

22+
# [START cloudrun_system_package_ubuntu_dockerfile_python]
2223
# [START cloudrun_system_package_ubuntu]
23-
# [START run_system_package_ubuntu]
2424
RUN apt-get update -y && apt-get install -y \
2525
graphviz \
2626
&& apt-get clean
27-
# [END run_system_package_ubuntu]
2827
# [END cloudrun_system_package_ubuntu]
28+
# [END cloudrun_system_package_ubuntu_dockerfile_python]
2929

3030
# Copy application dependency manifests to the container image.
3131
# Copying this separately prevents re-running pip install on every code change.

0 commit comments

Comments
 (0)