I’m implementing Automatic Queryable Encryption and have it working locally on my Macbook with the MacOS version
I’m trying to deploy it in a Docker container and currently using “mongo_crypt_shared_v1-linux-x86_64-enterprise-ubuntu2204-7.0.12”
It keeps failing when trying to access the mongo_crypt_v1.so file and saying “GLIBC_2.32”.
“TypeError: A crypt_shared override path was specified [/app/lib/mongo_crypt_shared_v1-linux-x86_64-enterprise-ubuntu2204-7.0.12/lib/mongo_crypt_v1.so], but we failed to open a dynamic library at that location. Load error: [Error while opening candidate for CSFLE dynamic library [/app/lib/mongo_crypt_shared_v1-linux-x86_64-enterprise-ubuntu2204-7.0.12/lib/mongo_crypt_v1.so]: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32’ not found (required by /app/lib/mongo_crypt_shared_v1-linux-x86_64-enterprise-ubuntu2204-7.0.12/lib/mongo_crypt_v1.so”
I’m currently using ubuntu:22.04 in my Dockerfile and then installing node manually. I’ve tried different variations of this and different versions of ubuntu with no luck
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y curl gnupg
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs
What do I need in my Dockerfile to get this to match up with the correct version of the Automatic Queryable Encryption Shared Library? so that it can open the file?