Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Question about arch setup #1

Closed
carlosal1015 opened this issue Aug 9, 2021 · 4 comments
Closed

Question about arch setup #1

carlosal1015 opened this issue Aug 9, 2021 · 4 comments

Comments

@carlosal1015
Copy link

Hi @da-moon, I read the discussion and I would you like ask if is possible to test an empty like gitpod-debian-empty-workspace with arch setup (only with dockerfile and gitpod.yml). Thanks a lot

@da-moon
Copy link
Owner

da-moon commented Aug 10, 2021

@carlosal1015 So, at this point, I don't think one can uses Arch Linux with Gitpod. I think the main reason is the 'gitpod layer' stage; it tries to run the following script; as you can see it does not support Arch based distros.

I have submitted a PR here with my updated changes; you can take a look at it yourself here

I added base Arch Image, I also fixed the scripts and wrote test-cases to follow their example. they haven't merged it with the master branch so we won't get Arch support until they merge my PR or they remove the whole Gitpod Layer stuff.

@da-moon
Copy link
Owner

da-moon commented Aug 10, 2021

you can try creating a test repo yourself and see the problem in action; just use fjolsvin/gitpod-workspace-full-archlinux docker image in your .gitpod.yml file, the image would load but it would fail at the gitpod layer stage

You can also try opening gitpod-exp branch of this repo in Gitpod; it is using archlinux image.

@carlosal1015
Copy link
Author

carlosal1015 commented Aug 10, 2021

Oh wow, only debian, ubuntu, linuxmint, amzn and alpine. I thought that was related with bug related with alpm library.

@carlosal1015 So, at this point, I don't think one can uses Arch Linux with Gitpod. I think the main reason is the 'gitpod layer' stage; it tries to run the following script; as you can see it does not support Arch based distros.

I have submitted a PR here with my updated changes; you can take a look at it yourself here

I added base Arch Image, I also fixed the scripts and wrote test-cases to follow their example. they haven't merged it with the master branch so we won't get Arch support until they merge my PR or they remove the whole Gitpod Layer stuff.

I was thinking at the moment is run a .sh file that mount the repo using a docker image like this.

you can try creating a test repo yourself and see the problem in action; just use fjolsvin/gitpod-workspace-full-archlinux docker image in your .gitpod.yml file, the image would load but it would fail at the gitpod layer stage

You can also try opening gitpod-exp branch of this repo in Gitpod; it is using archlinux image.

Yes I will play with the nice image

fjolsvin/gitpod-workspace-full-archlinux                      latest    ad34910ab635   13 hours ago   6.87GB

Thank you again. (Closing the question)

Edited:

If we add this patch, then will not have a problem with alpm library, and yes, it stop working when says adding gitpod layer.

I pull a new docker image with the patch builded in gitpod changing the name in build.sh and adding the patch in Dockerfile.

image

Obviously fail because this gitpod version is not using your pull request, but if gitpod is buiding with your pull request plus patch of glibc, then soon will be part of gitpod core. And then will be works. I was trying with setup similar to the branch gitpod-exp.

@carlosal1015
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants