Open muddy-alex opened 11 months ago
@muddy-alex Thank you for reporting. Indeed it looks like npx prebuild-install --runtime napi
is not downloading the binary files. We need to investigate it in order to understand the situation.
Appreciated. I'll be back on this later in the week so I'll report back any findings.
We have since moved to node:buster-18
(away from node:16-alpine
) for our base image and can confirm that the app is now running correctly.
@muddy-alex Actually I don't think it is caused by containerization, but the fact that Alpine is using Mucl and not glibc. Recently we have done some changes to Realm Core to make it support Mucl.
I leave the issue open as a reminder to us that we should produce Mucl compatible binaries as Alpine is very popular in cloud environments.
Thanks for your support on these issues @kneth
How frequently does the bug occur?
Always
Description
Node cant find binary file when containerised in Docker.
Investigating the container, the
generated
directory does not exist.Seems to be similar to #5799
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
Inside the container
Version
12.1.0
What services are you using?
Both Atlas Device Sync and Atlas App Services
Are you using encryption?
No
Platform OS and version(s)
Linux/Alpine Docker (linux/amd64)
Build environment
No response
Cocoapods version
No response