Skip to content

ARM binary release #35

Closed
Closed

Description

@frozenmaple

I have a RPi 3B+ module,and i hope code-server will be running within this platform, thank u

Activity

  1. sr229 commented on Mar 6, 2019

    @sr229
    Contributor

    @frozenmaple due to the resource usage of VSCode, no, its not possible unless you use a Memory-optimized version of Electron for Raspberry Pi.

  2. kylecarbs commented on Mar 6, 2019

    @kylecarbs
    Member

    We'll be reducing the amount of memory code-server uses. It's a decently-high priority for us.

    Would running this on a PI just require us to have an ARM target?

  3. sr229 commented on Mar 6, 2019

    @sr229
    Contributor

    @kylecarbs yep, armhf and arm64.

  4. kylecarbs commented on Mar 7, 2019

    @kylecarbs
    Member

    Will take a bit as nexe 2.x.x doesn't support arm as a target.

  5. icebob commented on Mar 7, 2019

    @icebob
    Contributor

    @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.

  6. kylecarbs commented on Mar 7, 2019

    @kylecarbs
    Member

    Hm that's fair. We've considered using pkg, will consider it again especially for the additional targets.

  7. changed the title [-]Will this project support on Raspberry Pi platform?[/-] [+]ARM binary release[/+] on Mar 8, 2019
  8. Jakst3r commented on Mar 14, 2019

    @Jakst3r

    It would be amazing to be able to run this in docker on my Odroid XU4Q & ODROID-N2 when it's released.

  9. 132 remaining items

  10. deftdawg commented on Jan 25, 2020

    @deftdawg

    Open the shell script and append $* to the node line near the bottom and it will pass the parameters

  11. deftdawg commented on Jan 25, 2020

    @deftdawg

    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.

  12. Toxblh commented on Feb 13, 2020

    @Toxblh

    @deftdawg Your build is work without some bugs on RPi3. Awesome.

  13. nhooyr commented on Feb 13, 2020

    @nhooyr
    Contributor

    @deftdawg That's awesome. FYI for anyone following the open issue tracking this is at #1337

  14. Toxblh commented on Feb 13, 2020

    @Toxblh

    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

  15. TechLevelZero commented on Feb 16, 2020

    @TechLevelZero

    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 schroot

    put this config in /etc/schroot/chroot.d/pi64

    [pi64]
    users=pi
    personality=linux
    description=V3D arm64 for buster
    type=directory
    directory=/srv/chroot/pi64
    profile=desktop
    root-groups=root
    preserve-environment=true
    

    sudo debootstrap --arch arm64 buster /srv/chroot/pi64

    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

  16. v0idp commented on Feb 17, 2020

    @v0idp

    I just need 32bit arm docker image. will 32bit images not be supported ?

  17. brandosha commented on Feb 17, 2020

    @brandosha

    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.

  18. Toxblh commented on Feb 18, 2020

    @Toxblh

    @brandosha I disable it just for the show its work)) But yes it's work, I can to recreate it with ARG params

  19. v0idp commented on Feb 19, 2020

    @v0idp

    @brandosha I disable it just for the show its work)) But yes it's work, I can to recreate it with ARG params

    what does your docker run command look like ?

  20. realmayus commented on Feb 24, 2020

    @realmayus

    @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.

  21. awahlig commented on Mar 1, 2020

    @awahlig

    @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.

    So far this build is working fine for me on Pi 4.

  22. bpmct commented on Mar 13, 2020

    @bpmct
    Member

    @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

  23. deftdawg commented on Mar 13, 2020

    @deftdawg

    @bpmct see "new build" link in this post #35 (comment)

  24. nhooyr commented on May 4, 2020

    @nhooyr
    Contributor

    Hey guys update at #1337 (comment)

    yarn global add @coder/code-server
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementSome improvement that isn't a feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions