You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New build; this was tested on the Raspberry Pi Zero (armv6), and Pi2 (armv7)... it requires nodejs-12.14.1-arm6 (script installs it in home dir) and raspbian or debian 9 or higher. Debug logging is off and $* has been added to the start script.
I could not build the standalone binary with the Pi2, it dies at the same spot after attempting to allocate more than the 1GB of ram on the Pi2.
Reacted by Lucas, Toni Villena, TechLevelZero, Melanie Kat, Anton Palgunov, Matt Jarosz, Boumshaka and stakOverflow
If you would like to try I wrap it to docker docker run -p 8888:8080 -v /home/pi:/home/pi toxblh/code-server-rpi
Not ideal yet, but basically work without terminal
Just need to fix Error loading shared library ld-linux-armhf.so.3 and will work
then run sudo schroot -c pi64 and now your in a 64bit userspace. you will need to reinstall apps again as this user E.G wget, curl, node but after that you can run the latest release (2.1698) of coder
the toxblh/code-server-rpi docker container seems to be working fine except I am unable to set the password or use https. I'm a noob at docker though so maybe I just don't know what I'm doing.
@deftdawg How can I install that new build on my RPi? There is no script, just the packages extensions, node_modules, out and the files package.json and product.json. npm run start doesn‘t work either.
@deftdawg How can I install that new build on my RPi? There is no script, just the packages extensions, node_modules, out and the files package.json and product.json. npm run start doesn‘t work either.
Back out from that directory. There's a script called "cs-on-pi0w.sh" outside of it that you have to run.
Activity
sr229 commentedon Mar 6, 2019
@frozenmaple due to the resource usage of VSCode, no, its not possible unless you use a Memory-optimized version of Electron for Raspberry Pi.
kylecarbs commentedon Mar 6, 2019
We'll be reducing the amount of memory
code-serveruses. It's a decently-high priority for us.Would running this on a PI just require us to have an ARM target?
sr229 commentedon Mar 6, 2019
@kylecarbs yep,
armhfandarm64.kylecarbs commentedon Mar 7, 2019
Will take a bit as nexe 2.x.x doesn't support arm as a target.
icebob commentedon Mar 7, 2019
@kylecarbs do you insist on using nexe? pkg is a similar project to create executable from Node project with arm support. It's just my two cents.
kylecarbs commentedon Mar 7, 2019
Hm that's fair. We've considered using
pkg, will consider it again especially for the additional targets.[-]Will this project support on Raspberry Pi platform?[/-][+]ARM binary release[/+]Jakst3r commentedon Mar 14, 2019
It would be amazing to be able to run this in docker on my Odroid XU4Q & ODROID-N2 when it's released.
132 remaining items
deftdawg commentedon Jan 25, 2020
Open the shell script and append
$*to the node line near the bottom and it will pass the parametersdeftdawg commentedon Jan 25, 2020
New build; this was tested on the Raspberry Pi Zero (armv6), and Pi2 (armv7)... it requires nodejs-12.14.1-arm6 (script installs it in home dir) and raspbian or debian 9 or higher. Debug logging is off and
$*has been added to the start script.I could not build the standalone binary with the Pi2, it dies at the same spot after attempting to allocate more than the 1GB of ram on the Pi2.
Toxblh commentedon Feb 13, 2020
@deftdawg Your build is work without some bugs on RPi3. Awesome.
nhooyr commentedon Feb 13, 2020
@deftdawg That's awesome. FYI for anyone following the open issue tracking this is at #1337
Toxblh commentedon Feb 13, 2020
If you would like to try I wrap it to docker
docker run -p 8888:8080 -v /home/pi:/home/pi toxblh/code-server-rpiNot ideal yet, but basically work without terminal
Just need to fix
Error loading shared library ld-linux-armhf.so.3and will workTechLevelZero commentedon Feb 16, 2020
for people wanting to running on the Pi 3 and above you can get a 64bit userspace in buster via chroot
sudo apt install -y debootstrap schrootput this config in /etc/schroot/chroot.d/pi64
sudo debootstrap --arch arm64 buster /srv/chroot/pi64then run
sudo schroot -c pi64and now your in a 64bit userspace. you will need to reinstall apps again as this user E.G wget, curl, node but after that you can run the latest release (2.1698) of coderv0idp commentedon Feb 17, 2020
I just need 32bit arm docker image. will 32bit images not be supported ?
brandosha commentedon Feb 17, 2020
the
toxblh/code-server-rpidocker container seems to be working fine except I am unable to set the password or use https. I'm a noob at docker though so maybe I just don't know what I'm doing.Toxblh commentedon Feb 18, 2020
@brandosha I disable it just for the show its work)) But yes it's work, I can to recreate it with ARG params
v0idp commentedon Feb 19, 2020
what does your docker run command look like ?
realmayus commentedon Feb 24, 2020
@deftdawg How can I install that new build on my RPi? There is no script, just the packages extensions, node_modules, out and the files package.json and product.json. npm run start doesn‘t work either.
awahlig commentedon Mar 1, 2020
Back out from that directory. There's a script called "cs-on-pi0w.sh" outside of it that you have to run.
So far this build is working fine for me on Pi 4.
bpmct commentedon Mar 13, 2020
@deftdawg Tried to find your build via http://69.195.146.38/code-server/cs-arm32.tar.bz2 and got a 404.
I tried looking through the comments and couldn't find any other builds. Am I missing anything? I have a Raspberry Pi 4B
deftdawg commentedon Mar 13, 2020
@bpmct see "new build" link in this post #35 (comment)
nhooyr commentedon May 4, 2020
Hey guys update at #1337 (comment)