Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Recently I've taken a liking to iSH Shell for iOS which basically gives you access to a minimalistic 32-bit Alpine Linux shell on iOS. I tried to install code-server in several different ways but the only method that succeeds is via Yarn albeit with dependency issues. Manually resolving the dependencies allows you to start code-server but trying to access triggers a segmentation fault. Has anyone got farther than this? I should mention that Alpine uses musl C libraries so directly making code-server is not possible.

You must be logged in to vote

Replies: 6 comments · 3 replies

Comment options

I have a code-server Alpine 3.12 container that runs correctly, installed with npm :

RUN apk add --no-cache alpine-sdk bash libstdc++ libc6-compat npm libx11-dev libxkbfile-dev libsecret-dev
RUN npm install -g --cache /tmp/npm-cache --unsafe-perm code-server && rm -r /tmp/npm-cache

If that doesn't do the trick the problem runs deeper than dependencies I suppose.

You must be logged in to vote
0 replies
Comment options

As of 2020, 32-bit builds of Node.js are no longer supported officially, this also means x86 builds is not guranteed compatibility anymore. I'm sad to say, you must use a cloud service to run code-server instead.

You must be logged in to vote
0 replies
Comment options

try x86 version in the release 3.5.0, that is the last version build with x86

You must be logged in to vote
0 replies
Comment options

No solution found?

You must be logged in to vote
1 reply
@jsjoeio
Comment options

have you tried the other solutions mentioned?

Comment options

Do you have a Linux or a Mac device?

You must be logged in to vote
2 replies
@im-coder-lg
Comment options

You can run code-server on that or if you use Windows, use Debian WSL. It works mostly on Debian only.

@im-coder-lg
Comment options

Then, try doing some methods to access code-server through your WiFi, like IP address, or some sort.

Comment options

I don't think you need iSH, because, I found another method. Click the link here which will open a YT video. In that, he CHANGES the config. So, if you have Windows, get Debian with Curl in it or if you use Mac or Linux, copy the code-server curl line, put it in the Linux/Mac Terminal, and wait. After it's installed, run code-server. Then, it will show some line for a config file. Open your local VSCode, and locate and then go to the file(if you don't know how to do on WSL, get Remote-WSL extension, and connect to your distro. Then you are ready to go to the file 👍 ). Then, open your terminal and put

ifconfig

Now, find your IP address as of WiFi, and paste it in the config on the bind_addr line, and replace it from 127.0.0.1:8888 to yourip:8888, where yourip is your IP address as of WiFi. Then, put that link on your iPad and you are good to go 👍 :)

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
7 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.