Hi!
Since v25, Node requires libatomic1 to run, which is not available in distroless images.
./node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
My current workaround is adding this line to my Dockerfile:
COPY --from=build /lib/x86_64-linux-gnu/libatomic.so.1 /lib/x86_64-linux-gnu/libatomic.so.1
It seems to be a brittle solution, but the best I could find. Should libatomic1 be included in the cc distroless images?
Thank you for this project
Hi!
Since v25, Node requires libatomic1 to run, which is not available in distroless images.
My current workaround is adding this line to my Dockerfile:
COPY --from=build /lib/x86_64-linux-gnu/libatomic.so.1 /lib/x86_64-linux-gnu/libatomic.so.1It seems to be a brittle solution, but the best I could find. Should libatomic1 be included in the cc distroless images?
Thank you for this project