Closed frederikhors closed 1 year ago
Maybe related to https://github.com/rust-lang/docker-rust/issues/147.
This was the problem I had yesterday. My binaries were built against i386 and then running in amd64, which led me to #147. The OP got in there a few minutes before :)
I had the same problem here, how did you solve it?
Sorry. I didn't write why I closed it. The cause is: https://github.com/rust-lang/docker-rust/issues/147.
Oh, they don't have a solution yet. I noticed that the target from the images image 1.69 vs 1.70 are different:
rust:1.69-bullseye = x86_64-unknown-linux-gnu
and
rust:1.70-bullseye = i686-unknown-linux-gnu
For now I rolled back to 1.69 til they solve that issue.
Something is wrong with 1.70 version. Switching only the version from
1.69
to1.70
in myDockerfile
causes this error in my final image:But
./app
obviously is there!