2 years ago
pnpm install fails on some packages such as @sentry/cli and aws-crt while running their install scripts. It says /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.38' not found`.
Here is a snippet from the logs
8 Replies
2 years ago
I think it would be best to move to a Dockerfile based build as you won't have any glib errors with a dockerfile
that would be a good workaround indeed. but i have so many env vars i'll need to copy over to the dockerfile. i wanted to see if that could be avoided.
as i understand, docker can't just pick up the env vars from railway. i have to redeclare each and everyone.
2 years ago
not true, you would only need to define the variables in your dockerfile that you need during build
ah so if it's a nextjs application, like in my case, then i only need to declare the NEXT_PUBLIC_ ones probably. thanks, i'll give that a shot
2 years ago
sounds good!
awesome, it worked. i only needed to declare the NEXT_PUBLIC_ ones indeed. thanks
2 years ago
no problem!