Skip to content

Cannot run on Alpine on WSL2 #3413

Closed
Closed

Description

@parsalotfy

OS/Web Information

  • Web Browser: Edge
  • Local OS: Windows 10 build 21382.1
  • Remote OS: Windows 10 build 21382.1
  • Remote Architecture: x64
  • code-server --version: 3.10.1

Steps to Reproduce

  1. Install Alpine from windows store (Alpine v3.13)
  2. install curl on that Alpine : apk add curl
  3. run this command : curl -fsSL https://code-server.dev/install.sh | sh
  4. cd ~/.local/bin
  5. ./code-server

Expected

Actual

then this error appears :

DESKTOP-87K2O5K:~/.local/bin# ./code-server
./code-server: exec: line 36: /root/.local/lib/code-server-3.10.1/lib/node: not found

Any ideas ?

Logs

Screenshot

Notes

This issue can be reproduced in VS Code: Yes/No

Activity

  1. code-asher commented on May 19, 2021

    @code-asher
    Member

    Our releases don't work on Alpine, I think for now you'll have to use yarn or npm to install.

  2. code-asher commented on May 19, 2021

    @code-asher
    Member

    But we should modify the installation script to detect this.

  3. jsjoeio commented on May 19, 2021

    @jsjoeio
    Contributor

    Yeah, this is mentioned in the install docs here.

    But we should modify the installation script to detect this.

    Agreed!

  4. jsjoeio commented on May 19, 2021

    @jsjoeio
    Contributor

    Closing in favor of #3421

  5. parsalotfy commented on May 20, 2021

    @parsalotfy
    Author

    Please add alpine to your releases, current docker image runs on ubuntu and its size is about 100 mb
    Alpine is much more lightweight, I don't know why this great project isn't fully compatible with alpine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions