Skip to content

vscode server node fetch function broken after patchelf #48

Description

https://code.visualstudio.com/docs/remote/faq#_can-i-run-vs-code-server-on-older-linux-distributions

After pack patchelf and built glibc(new toolchain) into a docker image/container(based on centos:6.7), and export three VSCODE_SERVER_* env, vscode attach container successfully, but all fetch operation exec failed:

Error: getaddrinfo ENOTFOUND

My test Dockerfile is: https://github.com/listenerri/centos-6.7-vscode

It has been confirmed that this issue is caused by patchelf modifying the node executable program. I conducted the same test in the container of ubuntu:24.04, and the problem can be reproduced.

Activity

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