Skip to content

Commit 87c5251

Browse files
author
David Cavazos
authored
dataflow/ubuntu-container: use LTS ubuntu version (GoogleCloudPlatform#8215)
1 parent 79555e6 commit 87c5251

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dataflow/custom-containers/ubuntu/Dockerfile

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

15-
FROM ubuntu:impish
15+
FROM ubuntu:focal
1616

1717
WORKDIR /pipeline
1818

1919
# Set the entrypoint to Apache Beam SDK worker launcher.
20-
COPY --from=apache/beam_python3.9_sdk:2.38.0 /opt/apache/beam /opt/apache/beam
20+
COPY --from=apache/beam_python3.8_sdk:2.40.0 /opt/apache/beam /opt/apache/beam
2121
ENTRYPOINT [ "/opt/apache/beam/boot" ]
2222

2323
# Install Python with pip, dev tools, distutils, and a C++ compiler.
2424
COPY requirements.txt .
2525
RUN apt-get update \
2626
&& apt-get install -y --no-install-recommends \
27-
ca-certificates curl g++ python3.9-dev python3-distutils \
27+
ca-certificates curl g++ python3-dev python3-distutils \
2828
&& rm -rf /var/lib/apt/lists/* \
29-
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.9 10 \
29+
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 10 \
3030
&& curl https://bootstrap.pypa.io/get-pip.py | python \
3131
# Install the requirements.
3232
&& pip install --no-cache-dir -r requirements.txt \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
apache-beam[gcp]==2.37.0
1+
apache-beam[gcp]==2.40.0

0 commit comments

Comments
 (0)