File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
dataflow/flex-templates/streaming_beam Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ ARG WORKDIR=/dataflow/template
1818RUN mkdir -p ${WORKDIR}
1919WORKDIR ${WORKDIR}
2020
21+ # Due to a change in the Beam base image in version 2.24, we need to install
22+ # libffi-dev manually as a dependency. For more information:
23+ # https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4891
24+ RUN apt-get update && apt-get install -y libffi-dev && rm -rf /var/lib/apt/lists/*
25+
2126COPY requirements.txt .
2227COPY streaming_beam.py .
2328
Original file line number Diff line number Diff line change @@ -224,7 +224,8 @@ The following sections describe how to delete or turn off these resources.
224224 gcloud dataflow jobs list \
225225 --filter ' NAME:streaming-beam AND STATE=Running' \
226226 --format ' value(JOB_ID)' \
227- | xargs gcloud dataflow jobs cancel
227+ --region " $REGION " \
228+ | xargs gcloud dataflow jobs cancel --region " $REGION "
228229 ` ` `
229230
2302311. Delete the template spec file from Cloud Storage.
You can’t perform that action at this time.
0 commit comments