budibase icon indicating copy to clipboard operation
budibase copied to clipboard

Update CouchDB image to bookworm and couchdb 3.3.3.

Open samwho opened this issue 2 years ago • 1 comments

Description

When running the single image on ARM CPUs, we found we'd get the following error when using isolated-vm:

Error: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /node_modules/isolated-vm/out/isolated_vm.node)

This is because couchdb:3.2.1, the image that the single image builds from, uses Debian Bullseye, which ships with glibc 2.31. Debian Bookworm ships with 2.36, which is the Debian that node:20-slim is based off of.

However, in order to get this to work I've had to update CouchDB from 3.2.1 to 3.3.3. We will need to test carefully to make sure that this is a safe upgrade for all of our users.

Addresses

  • https://linear.app/budibase/issue/BUDI-7997/fix-dlopen-error-in-arm-single-image-build-when-using-isolated-vm

samwho avatar Feb 13 '24 12:02 samwho

@mike12345567 it occurs to me here we'll need to publish budibase/couchdb:3.3.3 and then have a follow-up PR that updates the self-host docker-compose.yaml and Helm chart.

samwho avatar Feb 15 '24 10:02 samwho