Skip to content

Dockerfile broken exec /atomic-server-bin: no such file or directory #618

@joepio

Description

@joepio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions