You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "tvalentyn (via GitHub)" <gi...@apache.org> on 2023/06/03 01:33:01 UTC
[GitHub] [beam] tvalentyn commented on a diff in pull request #27006: Reduce the number of layers in Python base image.
tvalentyn commented on code in PR #27006:
URL: https://github.com/apache/beam/pull/27006#discussion_r1215088661
##########
sdks/python/container/Dockerfile:
##########
@@ -22,8 +22,20 @@ LABEL Author "Apache Beam <de...@beam.apache.org>"
ARG TARGETOS
ARG TARGETARCH
-# Install native bindings required for dependencies.
-RUN apt-get update && \
+COPY target/base_image_requirements.txt /tmp/base_image_requirements.txt
+COPY target/apache-beam.tar.gz /opt/apache/beam/tars/
+COPY target/LICENSE /opt/apache/beam/
+COPY target/LICENSE.python /opt/apache/beam/
+COPY target/NOTICE /opt/apache/beam/
+COPY target/launcher/${TARGETOS}_${TARGETARCH}/boot /opt/apache/beam/
Review Comment:
sg, done.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org