liferoad commented on code in PR #29001:
URL: https://github.com/apache/beam/pull/29001#discussion_r1361071654
##########
sdks/python/container/Dockerfile:
##########
@@ -17,18 +17,15 @@
###############################################################################
ARG py_version
-FROM python:"${py_version}"-bullseye as beam
-LABEL Author "Apache Beam <[email protected]>"
-ARG TARGETOS
-ARG TARGETARCH
-COPY target/base_image_requirements.txt /tmp/base_image_requirements.txt
-COPY target/apache-beam.tar.gz /opt/apache/beam/tars/
-COPY target/launcher/${TARGETOS}_${TARGETARCH}/boot target/LICENSE
target/NOTICE target/LICENSE.python /opt/apache/beam/
+FROM python:"${py_version}"-bookworm as python-base
Review Comment:
Mainly, because Bookworm is new and might have less number of security
issues. But this can be changed easily to bullseye (similar to the distroless
image).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]