Open rafaeltab opened 1 year ago
I'll take a swing at getting this fixed up once we remove the Golang code/toolchain. There will be less to manage then. 👍
Any updates on this? I am looking to use my first turborepo in GitHub Codespaces.
Any updates on this? I am looking to use my first turborepo in GitHub Codespaces.
This issue is for a devcontainer in which one can develop turbo itself. Not a devcontainer where one could use turborepo.
For your use case, a simple getting started node js devcontainer should do the job just fine. The only thing is a global install of turbo, which you'd have to do with npm install -g turbo
@rafaeltab do you have any other slim Dockerfile up to date for atleast some development? the one you have in description doesn't seem to be working anymore
@ragrag i do not sorry, I think golang is no longer used, so you could try a rust musl devcontainer
Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
I would like for the dev container to be fixed, this would allow me and others to use it to contribute more easily.
Describe the solution you'd like
I have done some research myself on how it can be fixed. One major factor of why it doesn't currently work is because Rust needs to target
x86_64-unknown-linux-musl
. Musl isn't included with ubuntu bullseye, the base OS we are currently using, I have personally tried it out with Alpine Linux, which does have musl. The minimum required Dockerfile that I could create, that can successfully runpnpm install
andpnpm run build
on the codebase is as follows.I don't recommend using this Dockerfile directly, as it is very stripped down, has very few of the tools necessary for effective development, and isn't set up to be used with vs code.
Describe alternatives you've considered
Not contributing, but I don't want that. I can learn a lot from contributing, and it is fun as well. Not even to mention the fact that you may be able to benefit from it. I will finish the current pull request I have open using the file I created, and would love to keep contributing using a functioning dev container.
P.S. I marked this for the Turborepo project, but it really is for the development environment, which involves Turborepo, as well as Turbopack.