Comments (5)
Seems that the sha256sum bins are different. We expect it to have a --status
option, but the one from alpine (upstream is busybox) uses -s
for that.
from pants.
Although even if we patch this issue, I'm not sure that it's going to work. IIRC, alpine uses a different compiler chain, and I don't think we build wheels for it. If your goal is to get code into an alpine docker container, pants' docker support can pull in PEXes which Pants builds outside of the container. Pants environments might also allow you to run commands or steps inside of an alpine container, although I don't have experience with them. If you really need to run Pants in an alpine container, I think you might need to build Pants from sources
from pants.
Yeah, our wheels are glibc, not musl, so to run on Alpine you'd have to build your own. It's possible we should distribute Pants for Alpine, but there haven't been a ton of requests for that so far.
What is the use case here?
from pants.
Thanks for the quick responses!
The use case is using pants
in CI, and on Alpine in general, mainly for project introspection, but I'm considering also using it for running tests in CI as well.
So I do want to run Pants in the alpine container if possible. Sounds like building from source is the only way to do that today.
I'd love if there was a distributed pants
for Alpine, or some approved workaround (like https://pkgs.alpinelinux.org/package/v3.15/main/ppc64le/libc6-compat).
It might be worth updating the documentation with a note that Alpine Linux is not yet supported. Such a note existed in earlier versions of pants
: https://www.pantsbuild.org/2.0/docs/introduction/getting-started/installing-pants documentation. (Same for the linux on ARM note, I'm on x86 but am very interested in ARM support)
Thanks for the info though!
from pants.
FYI: Users running on Chainguard/Wofli based images have the same problem as they use gcc compiled busybox. A workaround is available by installing the wolfi coreutils
package but it would be great if that wasn't needed.
from pants.
Related Issues (20)
- Add tests for lockfile generation with hermetic interpreter
- Add support for [tool.uv] dev-dependencies HOT 2
- Pants install wrong psutils for mac m1 HOT 3
- uv-python-provider for managing Python installations HOT 2
- Getent check happening on OSX HOT 3
- `LintFilesRequest` gets confused with a file named `enums.py` HOT 15
- Move Pants pids and workdir folders outside repos to avoid inhibiting some git-stash usage scenarios HOT 4
- Packaging a multiarch Docker image fails with `ERROR: docker exporter does not currently support exporting manifest lists` HOT 3
- Breaking build for Linux when updating lock file on Mac HOT 1
- Lockfile is not properly used for plugin tests
- use_coverage causes "Can only merge Directories with no duplicates" error for Go packages with _test packaged files HOT 5
- generate_builtin_lockfiles.py does not work with lockfile diff
- doc bug: `openapi` listed as the backend for `nodejs` subsystem HOT 1
- companion to --changed-since to list "what changed"
- Unable to build Pants in nix-shell on OS X HOT 1
- excise direct Pex imports
- .add in ~/.pants.rc causes native options parse difference (duplicate values) HOT 4
- Protobuf sources does not work with parametrized resolves HOT 8
- Upgrade CI to build on macOS 12
- Value mismatch for the option `level` HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pants.