8000 Add git dependency to Dataflow Flex template Dockerfile (#5199) · nanduahmed/python-docs-samples@406bf46 · GitHub
[go: up one dir, main page]

Skip to content

Commit 406bf46

Browse files
authored
Add git dependency to Dataflow Flex template Dockerfile (GoogleCloudPlatform#5199)
## Description Workaround to the issue opened here: https://issuetracker.google.com/issues/176570473 Note: It's a good idea to open an issue first for discussion. ## Checklist - [x] I have followed [Sample Guidelines from AUTHORING_GUIDE.MD](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md) - [ ] README is updated to include [all relevant information](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#readme-file) - [x] **Tests** pass: `nox -s py-3.6` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup)) - [x] **Lint** pass: `nox -s lint` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup)) - [ ] These samples need a new **API enabled** in testing projects to pass (let us know which ones) - [ ] These samples need a new/updated **env vars** in testing projects set to pass (let us know which ones) - [x] Please **merge** this PR for me once it is approved. - [ ] This sample adds a new sample directory, and I updated the [CODEOWNERS file](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/.github/CODEOWNERS) with the codeowners for this sample
1 parent 4077239 commit 406bf46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataflow/flex-templates/streaming_beam/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ WORKDIR ${WORKDIR}
2121
# Due to a change in the Beam base image in version 2.24, we need to install
2222
# libffi-dev manually as a dependency. For more information:
2323
# https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4891
24-
RUN apt-get upd 4DDB ate && apt-get install -y libffi-dev && rm -rf /var/lib/apt/lists/*
24+
RUN apt-get update && apt-get install -y libffi-dev git && rm -rf /var/lib/apt/lists/*
2525

2626
COPY requirements.txt .
2727
COPY streaming_beam.py .

0 commit comments

Comments
 (0)
0