tvalentyn commented on code in PR #29001:
URL: https://github.com/apache/beam/pull/29001#discussion_r1364639241
##########
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:
Beam uses vanilla debian as base in other SDKs for now. Are we planning to
switch those to distroless as well?
https://github.com/apache/beam/blob/9fdc59b2c0f9a54457d9cde3117e9f0c104d59f1/sdks/go/container/Dockerfile#L19
--
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]