wooden-thailand-8386
05/26/2022, 8:26 PMawslambda and google_cloud_function targets and as the documentation predicted (https://www.pantsbuild.org/docs/awslambda-python) it is failing on MacOS. So I’ve created a little Dockerfile as a workaround for running pants package locally. I’ll share in a thread if you folks think it might be useful to put as an “example” on the Docs page.wooden-thailand-8386
05/26/2022, 8:27 PMwooden-thailand-8386
05/26/2022, 8:28 PMdocker build . -t linux-pyenv and then use it with pants to package my lambdas >
docker run --rm -it -v $(pwd):/app linux-pyenv bash -c "cd /app && ./pants package my_lambda::"curved-television-6568
05/26/2022, 8:38 PMpolite-garden-50641
05/26/2022, 9:03 PM