-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[turborepo] Unable to build Alpine docker image with turbo@canary #3083
Comments
@weyert thanks for reporting this. Our ubuntu binaries require glibc now, but we should definitely support alpine, which means we'll need a new binary targeting musl ( |
Yeah, I think in 1.6.3 you needed libc6-compat to make it work with Alpine but that approach doesn’t work with 1.7 anymore when I replace |
Yep, there's a short description of the general issue here #3039. But we're still chasing them all down as part of the move to Rust. |
Do you think it is fixable? Love to try Turborepo 1.7 in Alpine on Gitlab CI without needing to switch distros If I install
Looks like there were similar issues in the Next project: vercel/next.js#30713 |
It should be yes, we've been looking into this one over the past day or so - we definitely want this to be supported out of the box with no (or minimal changes) needed in an alpine container. |
This is still a problem for me. Any news @tknickman ? |
@weyert Yep! This will be fixed in the next canary (not yet released). This one took a bit to track down and figure out a suitable approach to a fix - so my apologizes for the delay. You can take a look at the fix and follow along in: #3189 and #3192 You will still need |
Awesome, thank you, let me know when you want me to try it out :) |
Latest canary is working in Alpine - we're doing a bit more testing before a full release, but it's close enough to bang on a bit |
Been following this issue as we've had the same problem. Can confirm 1.7.0-canary.7 has fixed this for us. |
Thanks for testing this out @ronaldburns / @weyert! We really appreciate it. I'm going to close this for now (1.7.0 should be landing in the next day or two) - but please open a new issue or comment here if you see any other issue with the canary in Alpine! |
What version of Turborepo are you using?
1.7.0@canary
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Describe the Bug
I am trying to build a Alpine-based docker image with the latest canary version of
turbo
but it's failing withlibc
Expected Behavior
Able to successfully build a Alpine-based docker image
To Reproduce
Run
docker build -f ./Dockerfile .
were theDockerfile
has the following contents:Reproduction Repo
No response
The text was updated successfully, but these errors were encountered: