flaky-artist-57016
01/14/2025, 12:06 AMdocker:X.Y.Z-cli
images are Alpine based which pants does not support. There are several threads on the topic here, but none with conclusive guidance for how to go about this. An example gitlab-ci.yaml
would be super helpful, as would any general guidance.flaky-artist-57016
01/14/2025, 12:09 AMbroad-processor-92400
01/14/2025, 1:06 AMflaky-artist-57016
01/14/2025, 1:21 AMpython_aws_lambda_function
target will resolve the issue. I initially got PEXes working in Azure Function App land by adding the following block between Python standard library imports and first+third party imports and I wonder if this kludge is also somehow implicated in the current issues I’m facing 🤷
try:
import __pex__ # type: ignore # noqa # pants: no-infer-dep
except ModuleNotFoundError:
pass
flaky-artist-57016
01/14/2025, 1:23 AMflaky-artist-57016
01/14/2025, 1:38 AMpython_aws_lambda_function
to package the test Function I linked in the other thread and it works! This could be it!
The handler
field is symbolic, but I can use dependencies
to include all the Functions (must be in separate directories per Azure’s requirements 🙃)elegant-florist-94385
01/14/2025, 2:25 AMcruizba/ubuntu-dind:noble-27.1.1
as pretty much a drop in replacement for the regular alpine dind imageflaky-artist-57016
01/14/2025, 2:27 AMpython_aws_lambda_function
target, but if it doesn’t pan out I’ll give it a a shot.elegant-florist-94385
01/14/2025, 2:27 AMcurved-manchester-66006
01/14/2025, 5:56 PMIs anyone pants publishing Docker images on GitLab CI?Yes! But we are hosting our own runners so dind isn't an issue for us. If I'm misreading and the other pointers don't help let me know
flaky-artist-57016
01/14/2025, 5:57 PM