Skip to content

Commit 356bf3d

Browse files
authored
install the package regardless
1 parent fd7cc24 commit 356bf3d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

sdks/python/container/Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ RUN \
4040
libyaml-dev \
4141
# This is used to speed up the re-installation of the sdk.
4242
ccache \
43+
# Required for using Beam Python SDK on ARM machines.
44+
libgeos-dev \
4345
&& \
4446
rm -rf /var/lib/apt/lists/* && \
4547

@@ -80,12 +82,6 @@ RUN \
8082
# Remove pip cache.
8183
rm -rf /root/.cache/pip
8284

83-
# Required for using Beam Python SDK on ARM machines.
84-
RUN if [ "${TARGETARCH}" = "arm64" ] ; then \
85-
apt-get update && \
86-
apt-get install libgeos-dev ; \
87-
fi
88-
8985
ENTRYPOINT ["/opt/apache/beam/boot"]
9086

9187
####

0 commit comments

Comments
 (0)