Add instructions about installing pants in docker#22943
Add instructions about installing pants in docker#22943nrontsis wants to merge 5 commits intopantsbuild:mainfrom
Conversation
|
Hey @nrontsis - just to clarify here, I know you use Or would that lead to any hiccups? |
|
Hey @sureshjoshi
yes, the following works but it assumes that the user's docker image comes with python 3.11 (cause pants only publishes wheels for python 3.11), and that the user is happy to mutate the global python env. Otherwise the user will need to install manually python 3.11 (perhaps in conjuction with another python version they need for their app), a pip on that python and perhaps a virtualenv. My intention was to avoid these assumptions and to provide an example Dockerfile that can work for a wide range of base images. |
|
Lost this as I wasn't marked as a reviewer. |
Add some instruction on installing pants in docker and airtight environments as per #22942 (comment)