foundationdb icon indicating copy to clipboard operation
foundationdb copied to clipboard

VS Code warns "foundationdb/devel:centos7-latest" is unsupported Dev Container

Open mdempsky opened this issue 1 year ago • 6 comments

  1. Open foundationdb source checkout in VS Code.
  2. Click "Reopen in Container". [In the popup window that mentions the Dev Container configuration.]

VS Code then warns me "You are about to connect to an OS version that is unsupported by Visual Studio Code." and includes a "Learn More" button referencing https://code.visualstudio.com/docs/remote/faq#_can-i-run-vs-code-server-on-older-linux-distributions

It seems that foundationdb/devel:centos7-latest is too old and will stop working in 6 months (February 2025):

https://github.com/apple/foundationdb/blob/48064f6cf15d0cd5be9ce7aa3dbdd49eaf541c38/.devcontainer/devcontainer.json#L3

mdempsky avatar Aug 28 '24 06:08 mdempsky

Specifically, the supported OS conditions that VS Code cares about are "glibc >= 2.28 and libstdc++ >= 3.4.25".

mdempsky avatar Aug 28 '24 06:08 mdempsky

Related: https://github.com/FoundationDB/fdb-build-support/issues/25

gm42 avatar Aug 28 '24 08:08 gm42

Looks like the Docker file is ready https://github.com/FoundationDB/fdb-build-support/blob/main/docker/rockylinux9/Dockerfile. However, we haven't published the image to Docker Hub yet. I'll discuss with @xis19 about it.

jzhou77 avatar Aug 28 '24 17:08 jzhou77

Hello,

We encounter the same issue than other regarding the obsolescence of the glibc (quite hard to properly upgrade it from the centos7:latest image).

Do you know when the image release is planned @xis19 .

CleverAkanoa avatar Oct 23 '24 14:10 CleverAkanoa

Let's target the image release before EOY.

xis19 avatar Oct 23 '24 15:10 xis19

你可以回退vscode的版本到1.82.0以下

DuanChangfeng0708 avatar Apr 11 '25 02:04 DuanChangfeng0708