gristlabs / grist-core

Grist is the evolution of spreadsheets.
https://www.getgrist.com
Apache License 2.0
7.27k stars 322 forks source link

use debian bookworm in docker container #1311

Open paulfitz opened 12 hours ago

paulfitz commented 12 hours ago

This returns to an upgrade first attempted in: https://github.com/gristlabs/grist-core/pull/1255 That upgrade ran into sandbox trouble, which eventually proved to be a small change in the layout of directories in bookworm relative to buster (/lib64 became a symlink).

Context

The base image used for Grist was getting quite old, along with the node version used.

Proposed solution

This applies the upgrade and simply skips exposing /lib64 in the sandbox if it is a symlink. If it is a symlink, then sandboxes will not survive being snapshotted and restored.

Related issues

Has this been tested?

Tested manually, and with PYTHON_VERSION_ON_CREATION=2 and 3 following https://github.com/gristlabs/grist-core/pull/1300