I'm pretty sure this issue appeared when I switched to the rust
base image because of #605, which was because the cargo
version used didn't recognized the newer let ... else
syntax.
Now I get this:
exec /atomic-server-bin: no such file or directory
Which is weird, because the file is there.
/ # ls -lh
total 45M
-rwxr-xr-x 1 root root 44.6M Mar 14 09:08 atomic-server-bin
It's probably a dependency issue in the build. Let's try musl no doesn't work.
I tried using a different base image (alpine:latest
instead of frolvlad/alpine-glibc
) but the issue is still there.
Adding a bunch of glibc seemed to help
RUN apk add libgcc libc6-compat gcompat
But I still get this one:
Error relocating /atomic-server-bin: __res_init: symbol not found
Relevant article