liferoad commented on PR #29001: URL: https://github.com/apache/beam/pull/29001#issuecomment-1770999084
> What is the underlying motivation here? > […](#) > On Wed, Oct 18, 2023, 3:24 PM tvalentyn ***@***.***> wrote: ***@***.**** commented on this pull request. ------------------------------ In sdks/python/container/Dockerfile <[#29001 (comment)](https://github.com/apache/beam/pull/29001#discussion_r1364624012)>: > - pip install --upgrade pip setuptools wheel && \ +RUN python -m venv venv-beam Beam SDK workers create a venv as well, which is superimposed upon the default environment. I think having Beam dependencies packages in a separate venv would break this setup. — Reply to this email directly, view it on GitHub <[#29001 (review)](https://github.com/apache/beam/pull/29001#pullrequestreview-1686300631)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADWVAOZSTTFQKPC3E7CVYLYABJKDAVCNFSM6AAAAAA6BMBU6WVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTMOBWGMYDANRTGE> . You are receiving this because you are subscribed to this thread.Message ID: ***@***.***> We just create the temp venv in the python-base image to install all the packages and later copy them 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org