apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.49k stars 1.31k forks source link

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

Open mdempsky opened 2 months ago

mdempsky commented 2 months ago
  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 commented 2 months ago

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

gm42 commented 2 months ago

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

jzhou77 commented 2 months ago

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.

CleverAkanoa commented 1 week ago

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 .

xis19 commented 6 days ago

Let's target the image release before EOY.